mirror of
https://github.com/tree-sitter/tree-sitter.git
synced 2026-09-10 07:36:22 -04:00
`ParseStateId`, `LexStateId`, `ProductionInfoId`, and `ReservedWordSetId` each held a `usize`, while the runtime stores state/field ids as `u16` (so `u32` has plenty of headroom). Shrinking them saves space for every parse-table entry, and a number of other data structures. Reduces wall time by 2-5%, peak rss by 9-12%. |
||
|---|---|---|
| .. | ||
| cli | ||
| config | ||
| generate | ||
| highlight | ||
| language | ||
| loader | ||
| tags | ||
| xtask | ||