Fast GUI pipemeter: gprog

Dan Stromberg strombrg at gmail.com
Sat Mar 6 03:21:59 EST 2010


On Mar 4, 4:25 pm, Dan Stromberg <strom... at gmail.com> wrote:

> Python folk: Any guesses why a simple file.read(blocksize) would have
> such an affinity for returning 16K when redirected from /dev/zero?  If
> I run the program against a file on disk, it gets larger blocksizes
> fine.

Never mind - it was a bug in my code.

Now on a slower machine, it runs about 2.5 times faster than it did on
the faster machine.



More information about the Python-list mailing list