# project/perf: Optimize BufferStore::get_by_path with an additional index \(\#28670\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 9863b48dd72695bde97a6a53b66bfa447f3634ac

Requested commit: 9863b48dd72695bde97a6a53b66bfa447f3634ac

Commit: 9863b48dd72695bde97a6a53b66bfa447f3634ac

Tree: 3c0a3bf543b245b7d3dfd5884f44f25af038c882

Author: Piotr Osiewicz

Committer: GitHub

## Message

```
project/perf: Optimize BufferStore::get_by_path with an additional index (#28670)

Closes #27270

Release Notes:

- Improved performance of git panel with large # of untracked files
```

## Parents

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

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