mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 20:09:19 +00:00
Increase LRU cache size for parse_expansion and macro_expand queries
This commit is contained in:
parent
f2295cda42
commit
6253fc031b
3 changed files with 12 additions and 7 deletions
|
@ -53,7 +53,7 @@ pub struct FileRange {
|
|||
pub range: TextRange,
|
||||
}
|
||||
|
||||
pub const DEFAULT_LRU_CAP: usize = 128;
|
||||
pub const DEFAULT_PARSE_LRU_CAP: usize = 128;
|
||||
|
||||
pub trait FileLoader {
|
||||
/// Text of the file.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue