diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-01-15 10:36:56 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-01-15 10:36:56 (GMT) |
commit | 142297ac9204042743c72cee04ec501236c7986d (patch) | |
tree | 5ce8f523a247584ee116a7b5f0f6783802fb13de /Lib/sre_constants.py | |
parent | f29b64d243a5a1fd64923b9fe40f582fc6eb592a (diff) | |
download | cpython-142297ac9204042743c72cee04ec501236c7986d.zip cpython-142297ac9204042743c72cee04ec501236c7986d.tar.gz cpython-142297ac9204042743c72cee04ec501236c7986d.tar.bz2 |
Speed getline_via_fgets(), by supplying two "fast paths", although one is
faster than the other. Should be faster for Mark Favas's 254-character
mail log lines, and *is* 3-4% quicker for my test case with much shorter
lines (but they're typical of *my* text files, and I'm tired of optimizing
for everyone else at my expense <wink> -- in fact, the only one who loses
here is Guido ...).
Diffstat (limited to 'Lib/sre_constants.py')
0 files changed, 0 insertions, 0 deletions