diff options
author | Aleksey Kladov <[email protected]> | 2019-06-02 18:15:10 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-06-02 18:15:10 +0100 |
commit | 8b7f58976b32ccc768e35151b77aa9ea004b7495 (patch) | |
tree | 272f93a4431ca77d6cce8ee43c0d6d4f3c636701 /crates/ra_ide_api/src/completion | |
parent | b40c6de8a6887e6c184fca5c9188d26ee402df23 (diff) |
don't cache parses twice
Before this commit, `Parse`s for original file ended up two times in
salsa's db: first, when we parse original file, and second, when we
parse macro or a file.
Given that parse trees are the worst ofenders in terms of memory, it
makes sense to make sure we store them only once.
Diffstat (limited to 'crates/ra_ide_api/src/completion')
0 files changed, 0 insertions, 0 deletions