• Andrew Dalke's avatar
    substring split now uses /F's fast string matching algorithm. · c5da53ba
    Andrew Dalke yazdı
      (If compiled without FAST search support, changed the pre-memcmp test
       to check the last character as well as the first.  This gave a 25%
       speedup for my test case.)
    
    Rewrote the split algorithms so they stop when maxsplit gets to 0.
    Previously they did a string match first then checked if the maxsplit
    was reached.  The new way prevents a needless string search.
    c5da53ba
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
RISCOS Loading commit data...
Tools Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
setup.py Loading commit data...