# Fix early return when reaching end excerpt in \`lift_buffer_metadata\` \(\#26253\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 40c62cda5fff7833ef1e12129fc58d45ec0bff7e

Requested commit: 40c62cda5fff7833ef1e12129fc58d45ec0bff7e

Commit: 40c62cda5fff7833ef1e12129fc58d45ec0bff7e

Tree: 4af4464b18868142773ad406bb36bb18b7b37209

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Fix early return when reaching end excerpt in `lift_buffer_metadata` (#26253)

Release Notes:

- Fixed a bug causing slowness when viewing multi buffers with lots of
excerpts
```

## Parents

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

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