# Optimize \`Buffer::edits_since\` when the version hasn't changed · gitcafe/zed

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

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

Visibility: public

Requested revision: 61f45800d350924672d3c66b6cd71c5f49640603

Requested commit: 61f45800d350924672d3c66b6cd71c5f49640603

Commit: 61f45800d350924672d3c66b6cd71c5f49640603

Tree: 176a123c79d93f50a7f5c4cb8410a3ad9e3e048d

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
Optimize `Buffer::edits_since` when the version hasn't changed

Co-Authored-By: Nathan Sobo <nathan@zed.dev>

```

## Parents

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

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