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

Josh Rosenberg report at bugs.python.org
Thu Apr 3 23:50:40 CEST 2014


Josh Rosenberg added the comment:

Hmm... Maybe I'm testing it wrong, but I'm finding your patch is slowing down translation by a small amount on my test case; not a lot, maybe a 10% slowdown on enlarging translations, 6% for 1-1, and deletion in between.

----------

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


More information about the Python-bugs-list mailing list