[pypy-issue] [issue994] significantly slow joins

timo tracker at bugs.pypy.org
Tue Jan 10 11:09:19 CET 2012

timo <timonator at perpetuum-immobile.de> added the comment:

this is not about join being slow. in fact, this code:

start = time()
while (len(ir)<1000001):
    ir = ir+str(i) # without ''.join, which should be a no-op anyway
print time()-start

which does exactly the same thing takes almost exactly the same time (although
my machine was under heavy, but constant load when I tried it - the pypy version
is quite old, too, though)

this is more about general string concatenation being slow on pypy.

nosy: +timo
status: unread -> chatting

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list