This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients christian.heimes
Date 2008-12-06.12:14:49
SpamBayes Score 2.517335e-08
Marked as misclassified No
Message-id <1228565691.76.0.695581669443.issue4561@psf.upfronthosting.co.za>
In-reply-to
Content
The new io library needs some serious profiling and optimization work.
I've already fixed a severe slowdown in _fileio.FileIO's read buffer
allocation algorithm (#4533).

More profiling tests have shown a speed problem in write() files opened
in text mode. For example three str.count() calls are taking up 20% of
the time. The str.count calls can be replaced with an optimized C
function that returns the count of (\r\n, \n, \r) in one pass instead of
three passes.
History
Date User Action Args
2008-12-06 12:14:51christian.heimessetrecipients: + christian.heimes
2008-12-06 12:14:51christian.heimessetmessageid: <1228565691.76.0.695581669443.issue4561@psf.upfronthosting.co.za>
2008-12-06 12:14:50christian.heimeslinkissue4561 messages
2008-12-06 12:14:49christian.heimescreate