[issue13417] faster utf-8 decoding

2011-11-21 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 8e6c4acaf530 by Antoine Pitrou in branch 'default': Issue #13417: speed up utf-8 decoding by around 2x for the non-fully-ASCII case. http://hg.python.org/cpython/rev/8e6c4acaf530 -- nosy: +python-dev

[issue13417] faster utf-8 decoding

2011-11-21 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Thanks for the review, patch committed now (with bogus comments removed). -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker

[issue13417] faster utf-8 decoding

2011-11-18 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: +1 nice! A couple minor comments on the code review. -- nosy: +gregory.p.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13417 ___

[issue13417] faster utf-8 decoding

2011-11-16 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: PEP 393 and the need for a two-pass decoding process has made utf-8 decoding much slower, especially with the current generic implementation. Attached patch makes utf-8 more than twice faster, which means we're around 10-20% slower than 3.2