PATCH: Speed up direct string concatenation by 20+%!

Fredrik Lundh fredrik at pythonware.com
Fri Sep 29 12:00:03 EDT 2006


Larry Hastings wrote:


>> what's in "s" when that loop is done?
> 
> It's equivalent to " 'a' * 10000000 ".  (I shan't post it here.)

but what *is* it ?  an ordinary PyString object with a flattened buffer, 
or something else ?

</F>




More information about the Python-list mailing list