Message145322
| Author |
pitrou |
| Recipients |
pitrou, vstinner |
| Date |
2011年10月11日.01:17:32 |
| SpamBayes Score |
2.20578e-05 |
| Marked as misclassified |
No |
| Message-id |
<1318295854.61.0.959309073941.issue13149@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
io.StringIO is quite slower than ''.append() when used for mass concatenation (around 5x slower). This patch brings it to similar performance by deferring construction of the internal buffer until needed.
The problem is that it's very easy to disable the optimization by calling a method other than write() and getvalue(). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年10月11日 01:17:34 | pitrou | set | recipients:
+ pitrou, vstinner |
| 2011年10月11日 01:17:34 | pitrou | set | messageid: <1318295854.61.0.959309073941.issue13149@psf.upfronthosting.co.za> |
| 2011年10月11日 01:17:33 | pitrou | link | issue13149 messages |
| 2011年10月11日 01:17:33 | pitrou | create |
|