DegeneracyChangeIndex
An ordered, immutable index of resonance changes by sorted quanta.
canonical_mode_cache_max_bytes: int
__init__(self, changes):
get(self, signature):
get_canonical_mode_rows(self, signature, ordering):
Canonical sparse row bytes, shared across checked-position maps.
The bounded cache holds only distinct mode-tuple reorderings. Thus interning equivalent predicates does not reconstruct the full resonance-mode x projection-map Cartesian product for every plan.
get_mode_membership(self, signature):