[issue14923] Even faster UTF-8 decoding

Antoine Pitrou report at bugs.python.org
Sun May 27 20:37:04 CEST 2012


Antoine Pitrou <pitrou at free.fr> added the comment:

> However, if the continuation byte check to do the simplest way ((ch) >= 
> 0x80 && (ch) < 0xC0), this has the same effect (speed up to +45%) on 
> AMD Athlon.

Doesn't produce any significant speedup on Intel Core i5-2500.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14923>
_______________________________________


More information about the Python-bugs-list mailing list