Message170718
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 |
|
Date |
User |
Action |
Args |
2012-09-19 09:40:46 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, loewis, barry, orsenthil, nadeem.vawda, ezio.melotti, r.david.murray, rosslagerwall |
2012-09-19 09:40:46 | serhiy.storchaka | set | messageid: <1348047646.17.0.608648133117.issue11454@psf.upfronthosting.co.za> |
2012-09-19 09:40:45 | serhiy.storchaka | link | issue11454 messages |
2012-09-19 09:40:45 | serhiy.storchaka | create | |
|