Message157806
> Main note: the patched test adds a space to the separator, but that is not enough to account for the difference.
Sorry, I copied the wrong line.
$ ./python -m timeit -s "seq=[bytes([i]*100000) for i in range(256)]" "b' '.join(seq)"
10 loops, best of 3: 45.6 msec per loop
But the conclusions are not affected, for larger byte strings patched
version will be 1.5-2 times slower in limit. |
|
Date |
User |
Action |
Args |
2012-04-08 19:08:26 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, terry.reedy, pitrou, vstinner, benjamin.peterson, ezio.melotti, jcon |
2012-04-08 19:08:25 | serhiy.storchaka | link | issue12805 messages |
2012-04-08 19:08:25 | serhiy.storchaka | create | |
|