commit | 142297ac9204042743c72cee04ec501236c7986d | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Mon Jan 15 10:36:56 2001 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Mon Jan 15 10:36:56 2001 +0000 |
tree | 5ce8f523a247584ee116a7b5f0f6783802fb13de | |
parent | f29b64d243a5a1fd64923b9fe40f582fc6eb592a [diff] |
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 ...).