Serhiy Storchaka added the comment:
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')"
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue17237>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com