mirror of
https://github.com/zed-industries/zed.git
synced 2026-06-01 03:14:56 +07:00
Dropping deep tree-sitter Trees can be quite slow due to deallocating lots of memory (in the 10s of milliseconds for big diffs). To avoid blocking the main thread, we offload the drop operation to a background thread. Instead of a static thread we could also integrate this with the gpui app or use the executors, but both of that would require threading that through as a field which I don't think is too great either Release Notes: - N/A *or* Added/Fixed/Improved ... |
||
|---|---|---|
| .. | ||
| src | ||
| build.rs | ||
| Cargo.toml | ||
| LICENSE-GPL | ||