[issue21118] str.translate is absurdly slow in majority of use cases (takes up to 60x longer than similar functions)

Roundup Robot report at bugs.python.org
Sat Apr 5 11:56:51 CEST 2014


Roundup Robot added the comment:

New changeset cca6b056236a by Victor Stinner in branch 'default':
Issue #21118: Optimize str.translate() for ASCII => ASCII translation
http://hg.python.org/cpython/rev/cca6b056236a

New changeset 6a347c0ffbfc by Victor Stinner in branch 'default':
Issue #21118: Add unit test for invalid character replacement (code point higher than U+10ffff)
http://hg.python.org/cpython/rev/6a347c0ffbfc

----------

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


More information about the Python-bugs-list mailing list