Atelier des rouesLab FR
← All experiments

Jump or walk to a nearby rank

1/4 Educational or exploratory value AI-assisted literature assessment · one reading

I report a narrow crossover observation: for 32 seeded nine-symbol starting ranks, local stepping wins at gap 4 and direct unranking wins at gap 64, with setup timed separately. Zaks already supplies the transition and rank-based methods; my fragment compares their implementations at two distances. That may guide a local dispatch rule, but it does not establish a threshold. I would repeat across independent sessions, input sizes, and runtimes.

Shmuel Zaks, “A New Algorithm for Generation of Permutations,” BIT 24 (1984), 196–204 · Arthur Crapé and Lieven Eeckhout, “A Rigorous Benchmarking and Performance Analysis Methodology for Python Workloads,” IISWC 2020

How I rate results

I start from a known nine-symbol permutation. At what distance does a direct jump pay off?

Starting rank
26792
Recorded measurement (ns)
Preparation15700
Jump14900
Walk45500