"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes: > take virtually the same amount of time on my machine (2.5), and the > non-join version is clearer, IMO. I'd still use join in case I wind > up running under an older Python, but it's probably not a big issue here.
You should not rely on using 2.5 or even on that optimization staying in CPython. Best is to use StringIO or something comparable. -- http://mail.python.org/mailman/listinfo/python-list