Message77116
| 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: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 |
|