feat: prepare for parallelizing lsp requests (#342)

* feat: migrate steal_sync to snapshot_sync

* feat: correctly make world/analysis snapshot

* very rayon

* dev: recover async lsp request

* gg

* dev: pin

* fix: make server stable

* dev: disable concurrent server by default

* dev: very sync
This commit is contained in:
Myriad-Dreamin 2024-06-26 10:37:57 +08:00 committed by GitHub
parent 5e4e1e9877
commit 6fcad1c1c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
36 changed files with 1736 additions and 1318 deletions

View file

@ -36,6 +36,8 @@ impl SemanticRequest for SymbolRequest {
let mut symbols = vec![];
// todo! need compilation for iter_dependencies
ctx.resources.iter_dependencies(&mut |path| {
let Ok(source) = ctx.source_by_path(&path) else {
return;