Message182531
| Author |
serhiy.storchaka |
| Recipients |
Ramchandra Apte, alanh, christian.heimes, ezio.melotti, jcea, mirabilos, pitrou, serhiy.storchaka, skrah, trent |
| Date |
2013年02月20日.16:56:34 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1361379394.74.0.318475458727.issue17237@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
mirabilos, if you are motivated enough, do the following. Compile two Python executables - one with deleted assert, and second with deleted a block between "#if SIZEOF_LONG <= SIZEOF_VOID_P" and "#endif". Run following microbenchmarks for both executables:
./python -m timeit -s "x=b'A'*10000" "x.decode('ascii')"
./python -m timeit -s "x=b'A'*10000" "x.decode('utf-8')" |
|