Python speed-up

Alex Martelli aleaxit at yahoo.com
Wed Sep 22 17:20:08 EDT 2004


Gerrit <gerrit at nl.linux.org> wrote:
   ...
> Ah. Am I correct to conclude that StringIO should either be rewritten
> concatenating strings, or be deprecated, or both?

StringIO is precious in many cases which have nothing to do with
"concatenating string" but are rather "easily capturing in memory the
input/output of some piece of code which writes to / reads from a
file-like object", so deprecating it would be unwarranted.  A little
rewrite might perhaps be warranted, admittedly;-).


Alex



More information about the Python-list mailing list