# zeta2: Improve context search performance \(\#41501\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/b8cdd38efb3796302a88270f62be342d5afde794)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: b8cdd38efb3796302a88270f62be342d5afde794

Requested commit: b8cdd38efb3796302a88270f62be342d5afde794

Commit: b8cdd38efb3796302a88270f62be342d5afde794

Tree: 151909fc304a00a1e45384959e8315341e6dc3ad

Author: Agus Zubiaga

Committer: GitHub

## Message

```
zeta2: Improve context search performance (#41501)

We'll now perform all searches from the context model concurrently, and
combine queries for the same glob into one reducing the total number of
project searches.

For better readability, the debug context view now displays each
top-level regex alternation individually, grouped by its corresponding
glob:

<img width="1592" height="672" alt="CleanShot 2025-10-29 at 19 56 03@2x"
src="https://github.com/user-attachments/assets/f6e8408e-09d6-4e27-ba11-a739a772aa12"
/>

  
Release Notes:

- N/A
```

## Parents

- [87f9ba380f231778aa04d544952ae3a0a528ba52](https://git.cafe/gitcafe/zed/commit/87f9ba380f231778aa04d544952ae3a0a528ba52?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/b8cdd38efb3796302a88270f62be342d5afde794?format=markdown)
