.readline() - VERY SLOW compared to PERL

Martin von Loewis loewis at informatik.hu-berlin.de
Sat Nov 18 13:46:44 CET 2000


"Harald Schneider" <h_schneider at marketmix.com> writes:

> Would be nice to see a lookahead cached version of .readline() and
> .readlines() in Python 2.01 This would help XML-Parsing of large
> files to new frontiers :)

Why is that? I'd hope no XML reader would use .readlines...

Regards,
Martin



More information about the Python-list mailing list