Upgrading to tree-sitter 0.20.7 causes the parser to be generated for the newest ABI version 14. This includes noticeable performance improvements when parsing query files for languages like Elixir using the new primary_state_ids field.
You can see the impact of this change by comparing how long it takes to execute npm test on this branch compared to master 🙂 This change should improve the initial load time of Elixir buffers in editors like Neovim and Helix that use tree-sitter-elixir for syntax highlighting.
Upgrading to tree-sitter 0.20.7 causes the parser to be generated for the newest ABI version 14. This includes noticeable performance improvements when parsing query files for languages like Elixir using the new
primary_state_ids
field.See https://github.com/tree-sitter/tree-sitter/pull/1589 and https://github.com/tree-sitter/tree-sitter/pull/1852 for more information on this change.
You can see the impact of this change by comparing how long it takes to execute
npm test
on this branch compared tomaster
🙂 This change should improve the initial load time of Elixir buffers in editors like Neovim and Helix that use tree-sitter-elixir for syntax highlighting.