]> granicus.if.org Git - python/commit
Issue #28839: Optimize function_call()
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 3 Jan 2017 00:58:17 +0000 (01:58 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 3 Jan 2017 00:58:17 +0000 (01:58 +0100)
commit6f7c0ae46d66593b4ca0f248b94b9e1d567114bb
treeef4dff87f24514fe917ba615dff933ca248e33aa
parentb03beefb24322ba5bf75e50af00350afb6512731
Issue #28839: Optimize function_call()

function_call() now simply calls _PyFunction_FastCallDict().

_PyFunction_FastCallDict() is more efficient: it contains fast paths for the
common case (optimized code object and no keyword argument).
Objects/funcobject.c