]> granicus.if.org Git - python/commit
Speed it up by using readlines(sizehint). It's still slower than
authorGuido van Rossum <guido@python.org>
Fri, 5 Jan 2001 14:44:39 +0000 (14:44 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 5 Jan 2001 14:44:39 +0000 (14:44 +0000)
commit47955241011a7042405545a7427808bd01d901f2
tree5e596b75350bd231829495fb84691e3542db46ab
parent1187aa4d33d672431d4cc6019ecaf635ca90bfc2
Speed it up by using readlines(sizehint).  It's still slower than
other ways of reading input. :-(

In the process, I added an optional bufsize argument to the input()
function and the FileInput class.
Lib/fileinput.py