summaryrefslogtreecommitdiff
path: root/tests/basics/fun-kwargs.py
diff options
context:
space:
mode:
authorJeff Epler <jepler@unpythonic.net>2025-10-11 21:13:46 -0500
committerDamien George <damien@micropython.org>2025-10-25 22:53:56 +1100
commit2e74f0b6be27d9c2b510cfe42cf4b7119d414260 (patch)
tree4a2ceffa7620fd955f9fc3492139b72be000218b /tests/basics/fun-kwargs.py
parenta080585ffdc628ab14d70a1489e31ede485e9a88 (diff)
py/objlist: Make a small code size optimization in mp_quicksort.
While clarifying the meaning of the arguments to `mp_quicksort`, I noticed that by pre-adjusting the `head` argument similar to what was already done for `tail`, code size could be saved by eliminating repeated calculation of `h + 1`. Signed-off-by: Jeff Epler <jepler@unpythonic.net>
Diffstat (limited to 'tests/basics/fun-kwargs.py')
0 files changed, 0 insertions, 0 deletions