[issue27213] Rework CALL_FUNCTION* opcodes

Demur Rumed report at bugs.python.org
Fri Jul 15 19:22:09 EDT 2016


Demur Rumed added the comment:

Since the most common use of CALL_FUNCTION_EX is..

def f(*x,*kw):
    other_func(*x, **kw)

I've added some code to BUILD_MAP_UNPACK_WITH_CALL & BUILD_TUPLE_UNPACK to not allocate a new object if called with oparg of 1 & TOP() is correct type

----------
Added file: http://bugs.python.org/file43741/callfunc5.patch

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


More information about the Python-bugs-list mailing list