mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
Merge #67
67: Salsa r=matklad a=matklad The aim of this PR is to transition from rather ad-hock FileData and ModuleMap caching strategy to something resembling a general-purpose red-green engine. Ideally, we shouldn't recompute ModuleMap at all, unless the set of mod decls or files changes. Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
3993bb4de9
18 changed files with 1305 additions and 473 deletions
|
@ -61,7 +61,7 @@ use {
|
|||
yellow::{GreenNode, SyntaxRoot},
|
||||
};
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
#[derive(Clone, Debug, Hash)]
|
||||
pub struct File {
|
||||
root: SyntaxNode
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue