STINNER Victor <victor.stin...@haypocalc.com> added the comment:

> "...text.with.2000.lines...replace("\n", " ") (*10): -37.668161%

I also noticed a difference between Python 3.2 and 3.3, but Python 3.3 is 13% 
*faster* (and not slower). This benchmark is not really representative because 
stringbench only tests .replace() with ASCII. Replace requires to scan the 
result to check the next maximum character, except for ASCII. So expect a 
performance regression... except for ASCII.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13621>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to