Why is text file processing SO slow?

Aahz Maruch aahz at panix.com
Wed Sep 20 20:46:46 EDT 2000


In article <8qb5j8$g17$1 at nnrp1.deja.com>,  <jaimewyant at my-deja.com> wrote:
>
>I have a program that processes large files ~25 megs.  The algorithm
>that I use is as follows:

Use readlines() with the hint argument so you don't consume too much
RAM.
-- 
                      --- Aahz (Copyright 2000 by aahz at pobox.com)

Androgynous poly kinky vanilla queer het    <*>     http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6

Member of the Groucho Marx Fan Club  --Aahz



More information about the Python-list mailing list