From 0b2e98d53dab5023d4df5a276e42ea3dab30982b Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 19 Apr 2016 22:54:37 +0200 Subject: [PATCH] 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. --- Misc/NEWS | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Misc/NEWS b/Misc/NEWS index fba505f0e17..d202362d942 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.