• Tim Peters's avatar
    Speed getline_via_fgets(), by supplying two "fast paths", although one is · 142297ac
    Tim Peters authored
    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 ...).
    142297ac
fileobject.c 35.1 KB