mirabilos added the comment: Serhiy Storchaka dixit:
>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 <rep...@bugs.python.org> ><http://bugs.python.org/issue17237> >_______________________________________ Thanks, will actually do that, just not before the weekend, dayjob’s keeping me busy, and I need to be careful to not burn out myself in the evening too. Which tree should I build? A release (if so, which)? Or some CVS branch? Do note we clock at roughly 1000 pystones for the fastest machines… yes 1000 not 10000. bye, //mirabilos -- FWIW, I'm quite impressed with mksh interactively. I thought it was much *much* more bare bones. But it turns out it beats the living hell out of ksh93 in that respect. I'd even consider it for my daily use if I hadn't wasted half my life on my zsh setup. :-) -- Frank Terbeck in #!/bin/mksh ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17237> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com