[issue15758] 500x speed up for Popen.communicate() on Windows

Antoine Pitrou report at bugs.python.org
Wed Aug 22 01:58:43 CEST 2012


Antoine Pitrou added the comment:

FileIO.readall() already has an overallocation mechanism which should yield linear complexity. Perhaps it needs to be tweaked a bit?
(look at new_buffersize in Modules/_io/fileio.c)

By the way, your results are bit weird. Why does the data rate increase with the transfered amount?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15758>
_______________________________________


More information about the Python-bugs-list mailing list