mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-10-30 06:42:43 +00:00
inSet() scanned a class's ranges from the front on every state visit, but the search loop charged one unit per visit regardless of class size, so a wide class multiplied real work the budget never counted. Ranges are sorted, merged and disjoint for every CharSet (normalise() for written classes, constants and complement() for escapes), so a binary search is equivalent. Charged work is unchanged. Tests pin the reads per visit, the edges of a large class and the charged work counters. |
||
|---|---|---|
| .. | ||
| fixtures | ||
| helpers | ||
| integration | ||
| unit | ||
| utils | ||