Message77116
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. |
|
Date |
User |
Action |
Args |
2008-12-06 12:14:51 | christian.heimes | set | recipients:
+ christian.heimes |
2008-12-06 12:14:51 | christian.heimes | set | messageid: <1228565691.76.0.695581669443.issue4561@psf.upfronthosting.co.za> |
2008-12-06 12:14:50 | christian.heimes | link | issue4561 messages |
2008-12-06 12:14:49 | christian.heimes | create | |
|