# Remove worktree and project notifies \(\#26244\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 80fb88520f0c52b806ac963dca6a39bead1f49aa

Requested commit: 80fb88520f0c52b806ac963dca6a39bead1f49aa

Commit: 80fb88520f0c52b806ac963dca6a39bead1f49aa

Tree: 0d85aa2bb7cddc5c6c392eb4b03dd7be57457931

Author: Conrad Irwin

Committer: GitHub

## Message

```
Remove worktree and project notifies (#26244)

This reduces the number of multibuffer syncs from 100,000 to 20,000.
Before this change each editor individually observed the project, so
literally any project change was amplified by the number of editors you
had open.

Now editors listen to their buffers instead of the project, and other
users of `cx.observe` on the project have been updated to use specific
events to reduce churn.

Follow up to #26237


Release Notes:

- Improved performance of Zed in large repos with lots of file system
events.

---------

Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
```

## Parents

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

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