tree-sitter/crates/generate
Antonin Delpeuch 36d93aeff3 perf: More efficient computation of used symbols
As the call to `symbol_is_used` does not depend
on the production, it is more efficient to call it
only once outside the loop over productions.

I'm not sure if `rustc` is able to do this optimization
on its own (it would need to know that the function
is pure, which sounds difficult in general).
2025-07-09 22:34:53 -04:00
..
src perf: More efficient computation of used symbols 2025-07-09 22:34:53 -04:00
Cargo.toml Reorganize rust crates into a flat crates directory, simplify some CI steps (#4496) 2025-06-06 14:25:37 -07:00
README.md Reorganize rust crates into a flat crates directory, simplify some CI steps (#4496) 2025-06-06 14:25:37 -07:00

Tree-sitter Generate

This helper crate implements the logic for the tree-sitter generate command, and can be used by external tools to generate a parser from a grammar file.