Skip to content

const __BINARY_HEAP_LAYOUTS: Readonly<Record<BinaryHeapKind, BinaryHeapFactory>>

Defined in: packages/heap/src/layouts.ts:27

Every binary heap, keyed by the kind a heap built from it reports.

Iterate this table instead of naming factories one by one: a property sweep, a benchmark, or a caller comparing directions covers every entry, and a direction added to BINARY_HEAP_KINDS fails to typecheck until it is enrolled here too.