Generator

One root-to-leaf path, drawn on the memory it touches

Rendered here at the parameters it defaults to, with every essay that calls it — which is the same list as the blast radius of changing it.
One root-to-leaf path, drawn on the memory it touchesThe 63 nodes of a complete tree of height 6, laid out three ways, with the 6 nodes of one search path filled in. Alternating shades are blocks of B = 8. The path is the same path in all three rows and the comparisons are the same 6; what changes is how many blocks it lands in — 2 under sorted array (binary search), 4 under level order.Sorted array (binary search)2 blocksLevel order4 blocksvan Emde Boas2 blocksmemory address, left to right · alternating outlines are blocksB = 8, M = 64 (M/B = 8)4 blocks against 2, for the same 6 comparisons

One root-to-leaf path, drawn on the memory it touches

The 63 nodes of a complete tree of height 6, laid out three ways, with the 6 nodes of one search path filled in. Alternating shades are blocks of B = 8. The path is the same path in all three rows and the comparisons are the same 6; what changes is how many blocks it lands in — 2 under sorted array (binary search), 4 under level order.

Drawn at 700 × 344, wide on the page. Everything above is what layout-map returns with no arguments; the caption is the generator's own, computed from the numbers in the drawing rather than written beside it.

3 essays call layout-map. The drawing above is what it returns with no arguments at all; every call below passes it something, because a placement that passes nothing draws whichever member of the family the generator happens to default to rather than the one its essay argues about — which is what optcheck and figfill exist to catch.

Where it is called

Changing this generator changes every one of these figures.

The library, page 2 of 5 — where layout-map sits