On Wed, 13 Feb 2013 00:28:15 +0100 Christian Heimes firstname.lastname@example.org wrote:
Am 12.02.2013 22:32, schrieb Antoine Pitrou:
For the record, io.StringIO should be quite fast in 3.3. (except for the method call overhead that Guido is complaining about :-))
AFAIK it's not the actual *call* of the method that is slow, but rather attribute lookup and creation of bound method objects.
Take a look at http://bugs.python.org/issue17170