On 7/20/07, Guido van Rossum <[EMAIL PROTECTED]> wrote: > I definitely *don't* want to continue the old habit of having a slow > and a fast module with different names; the experience with especially > cPickle and cStringIO is that everyone believes their code is > performance critical and hence uses the C version if it exists, > thereby repeating the same idiom over and over.
Actually, I am been surprised myself that the C version of StringIO isn't always faster than the Python one. I have a testcase where using StringIO, instead of cStringIO, is ~20% faster. -- Alexandre _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
