Skip to content

const GROWABLE_DISJOINT_SET_KINDS: readonly ["object", "struct-of-arrays"]

Defined in: packages/disjoint-set/src/disjoint-set.ts:133

The layouts whose element domain can grow after construction, and which therefore share the GrowableDisjointSetFactory construction contract.

indexed is excluded because it is built from an element count rather than an iterable of elements: it discriminates on a different axis than the two generic layouts, so folding it into one table would require a factory type that fits neither call site.