[Python-Dev] Re: [Patches] [Patch #103082] speed up readline() using getc_unlocked()

Guido van Rossum guido@python.org
Wed, 03 Jan 2001 15:45:38 -0500

I should add that the patches are on SourceForge:



I'm ready to check these in, but I'm waiting 24 hours in case there's
something I've missed.  (I haven't actually tested these on any other
platform besides Linux.)

Jeff Epler's xreadlines patch is here:

Note that Jeff's patch includes a patch to fileinput.py that does the
same thing as mine but using his xreadlines module instead of directly
using readlines(sizehint) as does mine.  I like my approach better,
mostly because it reduces depenencies.

--Guido van Rossum (home page: http://www.python.org/~guido/)