[issue4868] Faster utf-8 decoding

Antoine Pitrou report at bugs.python.org
Thu Jan 8 20:20:20 CET 2009


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

Attached patch adds acceleration for latin1 and utf16 decoding as well. 

All three codecs (utf8, utf16, latin1) are now in the same ballpark
performance-wise on favorable input: on my machine, they are able to
decode at almost 1GB/s.

(unpatched, it is between 150 and 500MB/s. depending on the codec)

Added file: http://bugs.python.org/file12655/decode5.patch

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


More information about the Python-bugs-list mailing list