Skip to content

Fix slow tree-sitter query execution by limiting the range that queries search#39416

Merged
maxbrunsfeld merged 4 commits intomainfrom
tree-sitter-query-containing-ranges
Dec 17, 2025
Merged

Fix slow tree-sitter query execution by limiting the range that queries search#39416
maxbrunsfeld merged 4 commits intomainfrom
tree-sitter-query-containing-ranges

Conversation

@maxbrunsfeld
Copy link
Collaborator

@maxbrunsfeld maxbrunsfeld commented Oct 3, 2025

Part of #39594
Closes #4701
Closes #42861
Closes #44503
Depends on tree-sitter/tree-sitter#4919

Release Notes:

  • Fixed some performance bottlenecks related to syntax analysis when editing very large files

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Oct 3, 2025
@maxbrunsfeld maxbrunsfeld changed the title Start work on limiting the range where buffer queries execute Fix slow tree-sitter query execution by limiting the range that queries search Oct 3, 2025
@SomeoneToIgnore SomeoneToIgnore force-pushed the tree-sitter-query-containing-ranges branch from 71fd89d to 2b1f5de Compare December 16, 2025 19:04
@github-project-automation github-project-automation bot moved this to Community Champion PRs in Quality Week – December 2025 Dec 16, 2025
@maxbrunsfeld maxbrunsfeld moved this from Community Champion PRs to In progress in Quality Week – December 2025 Dec 16, 2025
@maxbrunsfeld maxbrunsfeld marked this pull request as ready for review December 17, 2025 00:50
@maxbrunsfeld maxbrunsfeld merged commit 1c33dbc into main Dec 17, 2025
23 checks passed
@github-project-automation github-project-automation bot moved this from In progress to Done in Quality Week – December 2025 Dec 17, 2025
@maxbrunsfeld maxbrunsfeld deleted the tree-sitter-query-containing-ranges branch December 17, 2025 01:41
HactarCE pushed a commit that referenced this pull request Dec 17, 2025
…es search (#39416)

Part of #39594
Closes #4701
Closes #42861
Closes #44503
~Depends on tree-sitter/tree-sitter#4919

Release Notes:

- Fixed some performance bottlenecks related to syntax analysis when
editing very large files

---------

Co-authored-by: Kirill Bulatov <kirill@zed.dev>
LivioGama pushed a commit to LivioGama/zed that referenced this pull request Jan 20, 2026
…es search (zed-industries#39416)

Part of zed-industries#39594
Closes zed-industries#4701
Closes zed-industries#42861
Closes zed-industries#44503
~Depends on tree-sitter/tree-sitter#4919

Release Notes:

- Fixed some performance bottlenecks related to syntax analysis when
editing very large files

---------

Co-authored-by: Kirill Bulatov <kirill@zed.dev>
LivioGama pushed a commit to LivioGama/zed that referenced this pull request Jan 20, 2026
…es search (zed-industries#39416)

Part of zed-industries#39594
Closes zed-industries#4701
Closes zed-industries#42861
Closes zed-industries#44503
~Depends on tree-sitter/tree-sitter#4919

Release Notes:

- Fixed some performance bottlenecks related to syntax analysis when
editing very large files

---------

Co-authored-by: Kirill Bulatov <kirill@zed.dev>
LivioGama pushed a commit to LivioGama/zed that referenced this pull request Feb 15, 2026
…es search (zed-industries#39416)

Part of zed-industries#39594
Closes zed-industries#4701
Closes zed-industries#42861
Closes zed-industries#44503
~Depends on tree-sitter/tree-sitter#4919

Release Notes:

- Fixed some performance bottlenecks related to syntax analysis when
editing very large files

---------

Co-authored-by: Kirill Bulatov <kirill@zed.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

3 participants