Unexpected timing results with file I/O

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Mon Feb 4 20:09:22 CET 2008


On Mon, 04 Feb 2008 10:48:32 -0800, rdahlstrom wrote:

> It doesn't matter how many doors opening and closing there are, it
> matters the order in which the opening, walking through, and closing
> are done.  That's my point.  In the second example, all of the disk
> operations are done at the same time.  That's what I meant by people
> going through the doors.  Maybe it was more clear in my head.

But my timing shows that method two is slower on my computer.  So there is
no obvious winner.

Ciao,
	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list