Optimize update_entries (#51122)

Before you mark this PR as ready for review, make sure that you have:
- [x] Added a solid test coverage and/or screenshots from doing manual
testing
- [x] Done a self-review taking into account security and performance
aspects
- [x] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)

Release Notes:

- N/A
aa5c1ff84eMikayla Maki committed on 3/9/2026, 5:21:35 PM· committed by GitHubparentef08470
2 files changedLine totals unavailable