homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Boris.FELD, collinwinter, ezio.melotti, flox, loewis, pitrou, vstinner
Date 2011年12月18日.00:59:59
SpamBayes Score 0.00019080356
Marked as misclassified No
Message-id <1324169999.98.0.690551691801.issue13621@psf.upfronthosting.co.za>
In-reply-to
Content
> "...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.
History
Date User Action Args
2011年12月18日 01:00:00vstinnersetrecipients: + vstinner, loewis, collinwinter, pitrou, ezio.melotti, flox, Boris.FELD
2011年12月18日 00:59:59vstinnersetmessageid: <1324169999.98.0.690551691801.issue13621@psf.upfronthosting.co.za>
2011年12月18日 00:59:59vstinnerlinkissue13621 messages
2011年12月18日 00:59:59vstinnercreate

AltStyle によって変換されたページ (->オリジナル) /