[issue24870] Optimize coding with surrogateescape and surrogatepass error handlers

INADA Naoki report at bugs.python.org
Mon Aug 17 08:42:46 CEST 2015


INADA Naoki added the comment:

I've stripped Serhiy's patch for ascii.

Here is benchmark result:
https://gist.github.com/methane/2376ac5d20642c05a8b6#file-result-md

Is there chance for applying this patch to 3.5.1?

----------
Added file: http://bugs.python.org/file40195/faster-decode-ascii-surrogateescape.patch

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


More information about the Python-bugs-list mailing list