while c = f.read(1)

Greg McIntyre greg at puyo.cjb.net
Mon Aug 22 21:22:43 EDT 2005


> On the other hand, if you've already
planned another pass over the code, that might be the time to look
into this.

Exactly. And when I do that pass I will definitely try buffering the
data 10 or 100 meg at a time before entring the 1 char-at-a-time loop,
or using mmap to similar ends.




More information about the Python-list mailing list