# Avoid expensive re-computation of sticky header lines \(\#46653\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 024485133d7294263604e25c85d65dc71608a29f

Requested commit: 024485133d7294263604e25c85d65dc71608a29f

Commit: 024485133d7294263604e25c85d65dc71608a29f

Tree: 371df8e16865c11a737cf984356af0576d96d2af

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Avoid expensive re-computation of sticky header lines (#46653)

Fixes a performance regression introduced in
https://github.com/zed-industries/zed/pull/45377

Release Notes:

- Fixed a performance regression that caused lag in large documents
```

## Parents

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

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