Skip to content

BANDSAW

Solve a band of rows exactly by meeting in the middle, to find the true best ending and to measure how far ahead an endgame can be decided.

by Raphaël Anjou

experimentanalysisprovenplateaued437/480matched edgesExact methodsUpdated 2026-07-21
Reproducedeterministic — reproduces byte-for-bytereruns the search (See below)Budget: deterministic exact analysis; the committed example reproduces byte-for-byte
Complexity
Time
meet-in-the-middle: ~√ of the naive enumeration; but each half grows ~20× per extra mismatch budget
Space
O(number of top-half partials), the seam/piece-set hash table is the memory bottleneck

Meeting in the middle trades time for space: it replaces one exponential walk with two smaller ones plus a join, which is why the band size is capped by memory, not time.

Hardware & run
Native runCPU only
Cores
8
RAM
16 GiB
GPUs
0
CPU
Apple M1
Machine
MacBook (Apple M1, 8 cores)
Budget
deterministic exact analysis; the committed example reproduces byte-for-byte
Start
none (exact, deterministic)

Reproduce this result: deterministic — reproduces byte-for-byte

Keep exploring

Referenced by

Page sourceView as Markdown