resizeIndex method

void resizeIndex(
  1. int capacity
)

Backwards-compatible alias for resizeForCapacity used by older call sites that grew only the reverse index. Plan B unifies the two growth paths since both per-nid arrays must stay in lockstep with the registry's capacity.

Implementation

void resizeIndex(int capacity) => resizeForCapacity(capacity);