# Scope line layout cache to each window \(\#7235\) · gitcafe/zed

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

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

Visibility: public

Requested revision: a0b52cc69a2dee14e0d3139a8e6132549ab5a71b

Requested commit: a0b52cc69a2dee14e0d3139a8e6132549ab5a71b

Commit: a0b52cc69a2dee14e0d3139a8e6132549ab5a71b

Tree: 0ac714110ed6d9feabe7aa688707f21e1ffa2b03

Author: Antonio Scandurra

Committer: GitHub

## Message

```
Scope line layout cache to each window (#7235)

This improves a performance problem we were observing when having
multiple windows updating at the same time, where each window would
invalidate the other window's layout cache.

Release Notes:

- Improved performance when having multiple Zed windows open.

Co-authored-by: Max Brunsfeld <max@zed.dev>
```

## Parents

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

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