Atelier des rouesLab FR
← Experiments

Repeating a walk-or-jump decision

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

I compare five alternated timing pairs for each of 32 starts at gaps 21–23, retaining 480 pairs. The median paired differences favor walking by 1,900 ns at 21 and 400 ns at 22, then favor jumping by 250 ns at 23; at 22, 28 starts change sign across repetitions. This is a useful bounded warning against treating the learned cutoff as stable. Zaks supplies the algorithms, not this timing result; I would test longer batches and independent sessions.

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

Near the fitted threshold, which decision survives five trials at the same rank?

Starting rank
184681
Median walk minus jump (ns)
-700
Starts with a sign change out of 32
28

Five paired differences in ns · -300, 5000, -1000, -700, -900