Python(2.5) reads an input file FASTER than pure C(Mingw)

Christian Heimes lists at cheimes.de
Sat Apr 26 22:36:43 EDT 2008


SL schrieb:
> Is there an implementation of f.readlines on the internet somewhere?
> interested to see in how they implemented it. I'm pretty sure they did
> it smarter than just reserve 100meg of data :)

Of course it is. Checkout the Python sources :)

Christian




More information about the Python-list mailing list