[issue29452] Use FASTCALL for collections.deque methods: index, insert, rotate

STINNER Victor report at bugs.python.org
Mon Feb 6 05:21:29 EST 2017


STINNER Victor added the comment:

> Over this looks good.  Just one other minor tweak (one that has served me well elsewhere) would be to bypass the cross-module function call with a cheap (near zero cost) register variable test: (...)

This has just been optimized by Serhiy, change 82d1c8d15e18.

So, is deque-2.patch good now?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29452>
_______________________________________


More information about the Python-bugs-list mailing list