aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/parsing/lexer
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-06-02 18:15:10 +0100
committerAleksey Kladov <[email protected]>2019-06-02 18:15:10 +0100
commit8b7f58976b32ccc768e35151b77aa9ea004b7495 (patch)
tree272f93a4431ca77d6cce8ee43c0d6d4f3c636701 /crates/ra_syntax/src/parsing/lexer
parentb40c6de8a6887e6c184fca5c9188d26ee402df23 (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_syntax/src/parsing/lexer')
0 files changed, 0 insertions, 0 deletions