# Fix outline panel hangs during massive project searches \(\#57814\) · gitcafe/zed

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

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

Visibility: public

Requested revision: fe48ef424c9107769fbbf5ae04e73c981f77a646

Requested commit: fe48ef424c9107769fbbf5ae04e73c981f77a646

Commit: fe48ef424c9107769fbbf5ae04e73c981f77a646

Tree: f07721bab0415f11d29f9043e921d074401626ca

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Fix outline panel hangs during massive project searches (#57814)

Fixes:
*
https://github.com/zed-industries/zed/commit/69d5da20f7d10df4bfc3a02436b2ad17b1c799bb
extracts excerpts' data instead of re-iterating them per each search
result entry
*
https://github.com/zed-industries/zed/commit/83fe2e4e882456d0af7924e56fad5b26a2c2f6a1
instead of cancelling and restarting debounced tasks, coalesce new
tasks' submissions during pending debounces
*
https://github.com/zed-industries/zed/commit/d90ecd8820ff8a23764ef4d5f771738497ad0383
removes redundant autoscrolls that happen anyway due to match
invalidation event processing — this prevented outline panel from being
scrolled a few seconds after the large project search is over
*
https://github.com/zed-industries/zed/commit/b9e00a36605dc9cfa7862e0d43c755262ec0f453
tidy up, less allocations


Before:


https://github.com/user-attachments/assets/8bedff61-d57e-4c72-8c8a-7c8127b315f3

After:


https://github.com/user-attachments/assets/bbe87992-3885-46b5-b187-92fc5b539e4a


Release Notes:

- Fixed outline panel hangs during massive project searches
```

## Parents

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

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