[Python-Dev] Re: 2.4 news reaches interesting places (original) (raw)

Fredrik Lundh fredrik at pythonware.com
Mon Dec 13 18:07:04 CET 2004


Stephan Deibel wrote:

BTW, I can't resist my own favorite speed anecdote: I once wrote a one-off script to process down a couple of gigabytes of variously fragmented web logs into month-by-month files. I thought I was being naive doing f.readline() in a for loop with some date parsing code for each entry. But I was completely astounded how fast it processed -- and it just worked the first time around.

I was doing the same thing today (well, processing system logs, not web logs) and was completely baffled when I found that a program that just worked the first time around on our development machine, crashed with a MemoryError on the production machine.

oh well.



More information about the Python-Dev mailing list