From: Victor Stinner Date: Tue, 19 Apr 2016 20:54:37 +0000 (+0200) Subject: Optimize func(*tuple) function call X-Git-Tag: v3.6.0a1~161 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0b2e98d53dab5023d4df5a276e42ea3dab30982b;p=python Optimize func(*tuple) function call Issue #26802: Optimize function calls only using unpacking like "func(*tuple)" (no other positional argument, no keyword): avoid copying the tuple. Patch written by Joe Jevnik. --- diff --git a/Misc/NEWS b/Misc/NEWS index fba505f0e1..d202362d94 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -10,6 +10,10 @@ Release date: tba Core and Builtins ----------------- +- Issue #26802: Optimize function calls only using unpacking like + ``func(*tuple)`` (no other positional argument, no keyword): avoid copying + the tuple. Patch written by Joe Jevnik. + - Issue #26659: Make the builtin slice type support cycle collection. - Issue #26718: super.__init__ no longer leaks memory if called multiple times.