Message148293
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 ) |
|
| Date |
User |
Action |
Args |
| 2011-11-25 00:30:01 | pitrou | set | recipients:
+ pitrou, eli.bendersky, flox, dmalcolm, neologix, python-dev, kaifeng |
| 2011-11-25 00:30:00 | pitrou | set | messageid: <[email protected]> |
| 2011-11-25 00:30:00 | pitrou | link | issue11849 messages |
| 2011-11-25 00:30:00 | pitrou | create | |
|