Do less work when revealing entries in the outline panel (#20031)
Before this change, we were trying to determine current element before debouncing, causing a lot of extra work on caret movement. Now, we only do this for the task that managed to wait the entire debounce period. Closes https://github.com/zed-industries/zed/issues/19817 Closes https://github.com/zed-industries/zed/issues/14235 Release Notes: - Fixed outline panel-related performance issues when selections change in the large document ([#19817](https://github.com/zed-industries/zed/issues/19817)), ([#14235](https://github.com/zed-industries/zed/issues/14235))
K
Kirill Bulatov committed
f766f6ceae5ecebc674872eb4d82652f3dd2e6c5
Parent: 9dad897
Committed by GitHub <noreply@github.com>
on 10/31/2024, 2:29:19 PM