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.
G
Guido van Rossum committed
47955241011a7042405545a7427808bd01d901f2
Parent: 1187aa4