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 <rep...@bugs.python.org>
<http://bugs.python.org/issue22410>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to