diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-04-19 20:54:37 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-04-19 20:54:37 (GMT) |
commit | 0b2e98d53dab5023d4df5a276e42ea3dab30982b (patch) | |
tree | eb6ff40bf98671e4f8d7f633feebd01de87e3ef5 | |
parent | 201c4ecf180c5318d9ec40062e34943570c5fa32 (diff) | |
download | cpython-0b2e98d53dab5023d4df5a276e42ea3dab30982b.zip cpython-0b2e98d53dab5023d4df5a276e42ea3dab30982b.tar.gz cpython-0b2e98d53dab5023d4df5a276e42ea3dab30982b.tar.bz2 |
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.
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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. |