disable periodic GC

There's hypothesis that it doesn't do anything useful now that we have
LRU...
This commit is contained in:
Aleksey Kladov 2019-09-26 12:31:16 +03:00
parent 6c1878009d
commit fabb32693f
2 changed files with 2 additions and 8 deletions

View file

@ -17,10 +17,10 @@ use crate::{
FileId,
};
pub(crate) fn syntax_tree_stats(db: &RootDatabase) -> SyntaxTreeStats {
fn syntax_tree_stats(db: &RootDatabase) -> SyntaxTreeStats {
db.query(ra_db::ParseQuery).entries::<SyntaxTreeStats>()
}
pub(crate) fn macro_syntax_tree_stats(db: &RootDatabase) -> SyntaxTreeStats {
fn macro_syntax_tree_stats(db: &RootDatabase) -> SyntaxTreeStats {
db.query(hir::db::ParseMacroQuery).entries::<SyntaxTreeStats>()
}