This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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')"
History
Date User Action Args
2013-02-20 16:56:34serhiy.storchakasetrecipients: + serhiy.storchaka, jcea, pitrou, christian.heimes, trent, ezio.melotti, alanh, skrah, Ramchandra Apte, mirabilos
2013-02-20 16:56:34serhiy.storchakasetmessageid: <1361379394.74.0.318475458727.issue17237@psf.upfronthosting.co.za>
2013-02-20 16:56:34serhiy.storchakalinkissue17237 messages
2013-02-20 16:56:34serhiy.storchakacreate