python disk i/o speed
Steve Holden
sholden at holdenweb.com
Wed Aug 7 10:24:31 EDT 2002
More information about the Python-list mailing list
Wed Aug 7 10:24:31 EDT 2002
- Previous message (by thread): python disk i/o speed
- Next message (by thread): python disk i/o speed
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"nnes" <pruebauno at latinmail.com> wrote in message news:d8778a53.0208070621.62248e3d at posting.google.com... > Hello all, > > since I wanted to test how fast python is in processing delimited text > files, something common here, I wrote a quick and dirty mockup of such > situation. > > I generated a file about 7MB long, with 3 numbers on each line. Then I > wrote a programm in python, java and ANSI C, generating a second file > based on the first one, with 4 numbers; the original 3 plus the sum of > these. > e.g. "2","5","1" ----> "2","5","1","8" > > I recorded the time it took for the programms to get back to the > command prompt after hitting the enter key, using my > "bogo-wristwach-timer" system. > [ ... ] > > I will post the source of the programms in a follup post. The > implementation details are not exactly the same. I spent a couple of > days on a satisfactory ANSI C version for example and about 20 minutes > on the python script. :-) I susoect this last point is the most valuable data in the post, and I look forward to seeing the sample code. regards ----------------------------------------------------------------------- Steve Holden http://www.holdenweb.com/ Python Web Programming http://pydish.holdenweb.com/pwp/ -----------------------------------------------------------------------
- Previous message (by thread): python disk i/o speed
- Next message (by thread): python disk i/o speed
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list