Christian Heimes wrote:
Terry Reedy wrote:
Timing of os interaction may depend on os. I verified above on WinXp with 4 meg Pythonxy.chm file. Eye blink versus 3 secs, duplicated. I think something is wrong that needs fixing in 3.0.1.

http://bugs.python.org/issue4533

I've attached a patch to the bug. reading was so slow because the fileio_readall() was increasing the buffer by 8kB in each iteration. The new code doubles the buffer until it reaches 512kB. Starting with 512kB it's increased in 512kB blocks. Python 2.x has the same growth rate.

Christian

Thank you. Too bad this was not caught a week ago, but the timing of each method of each class is a bit hard to test for. Perhaps in the future.

tjr

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to