Message5204
Use StringIO (as ssteiner suggests), cStringIO, or accumulate in a list,
then join together.
CPython now optimizes this one case of accumulating strings so that it's
not quadratic in performance. Naively, it is an optimization that we
should be able to do too once we have a smarter compiler (the SSA work),
although it may not be a high priority. |
|
Date |
User |
Action |
Args |
2009-09-29 16:07:06 | zyasoft | set | messageid: <1254240426.79.0.275006535011.issue1480@psf.upfronthosting.co.za> |
2009-09-29 16:07:06 | zyasoft | set | recipients:
+ zyasoft, thobes, ssteiner |
2009-09-29 16:07:06 | zyasoft | link | issue1480 messages |
2009-09-29 16:07:06 | zyasoft | create | |
|