[issue11454] email.message import time
Serhiy Storchaka
report at bugs.python.org
Wed Sep 19 11:40:46 CEST 2012
Serhiy Storchaka added the comment:
Faster set-version:
$ ./python -m timeit -s 'h=lambda s, hn=set(map(chr, range(0xDC80, 0xDD00))).isdisjoint: not hn(s); s = "A"*1000' 'h(s)'
10000 loops, best of 3: 43.8 usec per loop
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11454>
_______________________________________
More information about the Python-bugs-list
mailing list