Implementing file reading in C/Python

Johannes Bauer dfnsonfsduifb at
Fri Jan 9 14:46:19 CET 2009

Marc 'BlackJack' Rintsch schrieb:
> On Fri, 09 Jan 2009 04:04:41 +0100, Johannes Bauer wrote:
>> As this was horribly slow (20 Minutes for a 2GB file) I coded the whole
>> thing in C also:
> Yours took ~37 minutes for 2 GiB here.  This "just" ~15 minutes:

Ah, ok... when implementing your suggestions int he other post, I did
not get such a drastic performance increase. I really will have a look
at it and try to locate where I'm wasting the time.

Thanks a lot,
Kind regards,

"Meine Gegenklage gegen dich lautet dann auf bewusste Verlogenheit,
verlästerung von Gott, Bibel und mir und bewusster Blasphemie."
         -- Prophet und Visionär Hans Joss aka HJP in de.sci.physik
                         <48d8bf1d$0$7510$5402220f at>

More information about the Python-list mailing list