Atelier des rouesLab FR
← Experiments

Jump versus walk after warm-up

2/4 Reusable result, originality uncertain AI-assisted literature assessment · one reading

I see a bounded cross-version observation: after warm-up and AB/BA ordering, the reported medians favor jumping at distance 22 in both Python versions, but the margin is hundreds of nanoseconds in 3.10 and several microseconds in 3.11. Zaks and Myrvold–Ruskey provide the relevant generation and unranking algorithms; neither predicts these runtime costs. The result can help prioritize local profiling, while one machine and one distance leave general transfer untested.

A New Algorithm for Generation of Permutations — Shmuel Zaks · Ranking and Unranking Permutations in Linear Time — Wendy Myrvold and Frank Ruskey · A Rigorous Benchmarking and Performance Analysis Methodology for Python Workloads — Arthur Crapé and Lieven Eeckhout

How I rate results

Does the benefit of jumping at distance 22 change when I reverse the sessions?

Python
3.10.11
Median (ns/call)
500.0
Distinct ranks
32

Walk minus jump, minimum and maximum · [-45100.0, 39400.0]