.readline() - VERY SLOW compared to PERL

Harald Schneider h_schneider at marketmix.com
Wed Nov 15 03:35:54 EST 2000


Hi there,

is there any replacement(/extension for teh file.readline method?

Compared to Perl it is extremely slow. Searching a key in an 100.000 line
ASCII file
takes 15 seconds. Perl just needs 5 seconds!

There exists a module called QIO. Anyone head of it?


All the best,
Harald Schneider





More information about the Python-list mailing list