Message194760
With the patch the results are:
C:\Python34\python.exe -m timeit -s "import re; f = re.compile(b'abc').search; x = b'x'*100000" "f(x)"
10000 loops, best of 3: 113 usec per loop
C:\Python34\python.exe -m timeit -s "import re; f = re.compile('abc').search; x = 'x'*100000" "f(x)"
10000 loops, best of 3: 113 usec per loop
C:\Python34\python.exe -m timeit -s "import re; f = re.compile('abc').search; x = '\u20ac'*100000" "f(x)"
10000 loops, best of 3: 113 usec per loop
I'm most impressed! :-) |
|
Date |
User |
Action |
Args |
2013-08-09 20:03:01 | mrabarnett | set | recipients:
+ mrabarnett, tim.peters, pitrou, vstinner, ezio.melotti, serhiy.storchaka |
2013-08-09 20:03:01 | mrabarnett | set | messageid: <1376078581.14.0.745107200042.issue18685@psf.upfronthosting.co.za> |
2013-08-09 20:03:01 | mrabarnett | link | issue18685 messages |
2013-08-09 20:03:01 | mrabarnett | create | |
|