mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-25 22:22:44 +00:00
print one size for symbols
This commit is contained in:
parent
e53eab3f25
commit
27a085f79e
@ -138,7 +138,7 @@ impl SymbolIndex {
|
||||
}
|
||||
|
||||
pub(crate) fn memory_size(&self) -> usize {
|
||||
self.map.as_fst().size() * self.symbols.len() * mem::size_of::<FileSymbol>()
|
||||
self.map.as_fst().size() + self.symbols.len() * mem::size_of::<FileSymbol>()
|
||||
}
|
||||
|
||||
pub(crate) fn for_files(
|
||||
|
Loading…
Reference in New Issue
Block a user