Antoine Pitrou <pit...@free.fr> added the comment:

For the record, this seems to make large allocations slower:

-> with patch:
$ ./python -m timeit "b'x'*200000"
10000 loops, best of 3: 27.2 usec per loop

-> without patch:
$ ./python -m timeit "b'x'*200000"
100000 loops, best of 3: 7.4 usec per loop

Not sure we should care, though. It's still very fast.
(noticed in 
http://mail.python.org/pipermail/python-dev/2011-November/114610.html )

----------
nosy: +eli.bendersky

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11849>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to