[issue22410] Locale dependent regexps on different locales
Serhiy Storchaka
report at bugs.python.org
Thu Sep 18 17:38:06 CEST 2014
Serhiy Storchaka added the comment:
Good catch Matthew!
After fixing this and yet one bug (LC_CTYPE should be used instead of LC_ALL), and adding more optimizations, the performance is increased. Now the result of above microbenchmark is 18.5 usec per loop.
----------
Added file: http://bugs.python.org/file36653/re_locale_caching2.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22410>
_______________________________________
More information about the Python-bugs-list
mailing list