diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-01-15 10:36:56 +0000 |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-01-15 10:36:56 +0000 |
commit | 142297ac9204042743c72cee04ec501236c7986d (patch) | |
tree | 5ce8f523a247584ee116a7b5f0f6783802fb13de /Python | |
parent | f29b64d243a5a1fd64923b9fe40f582fc6eb592a (diff) | |
download | cpython-git-142297ac9204042743c72cee04ec501236c7986d.tar.gz |
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 'Python')
0 files changed, 0 insertions, 0 deletions