[issue32534] Speed-up list.insert: use memmove()

Jeethu Rao report at bugs.python.org
Wed Jan 17 10:50:49 EST 2018


Jeethu Rao <jeethu at jeethurao.com> added the comment:

It's also interesting that in https://gist.github.com/pitrou/29eb7592fa1eae2be390f3bfa3db0a3a :

| django_template         | 307 ms    | 312 ms                   | 1.02x slower | Not significant        |

It seems to be slower and the benchmarks before it (2to3, chameleon, chaos, crypto_pyaes, deltablue) which we now know barely use list.insert are slightly faster :)

¯\_(ツ)_/¯

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32534>
_______________________________________


More information about the Python-bugs-list mailing list