File handling summary (was newbie question...)...

Aahz Maruch aahz at netcom.com
Fri Dec 31 17:32:32 EST 1999


In article <386D127F.3840BEE7 at earthlink.net>,
Alexander Sendzimir  <sendzimir at earthlink.net> wrote:
>
>All measurements are over 100 runs. Each run timed using GNU time.

Try time.time() next time.  ;-)  (That will make sure you factor out the
Python loading time.)

>I won't make any claims to the accuracy of these numbers. I'm
>exercising my new found Python muscles more than anything. However, I
>find it interesting that providing a hint to readlines() does seem to
>cause less time in the kernel.

I'll guess that this has to do with memory allocation.
--
                      --- Aahz (@netcom.com)

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

Eighth Virtual Anniversary -- today!



More information about the Python-list mailing list