Skip to content

Commit 00dcd75

Browse files
authored
perf(treesitter): add a few optimizations (#438)
- Remove treesitter specific memoization - Do not query/traverse matches for the whole buffer, only for the region defined by `g:matchup_treesitter_stopline` - Remove generic path-like parsing of treesitter information, parse only the necessary data - Remove some unnecessary function calls
1 parent dccb2d1 commit 00dcd75

3 files changed

Lines changed: 91 additions & 169 deletions

File tree

0 commit comments

Comments
 (0)