Merge #648
648: print one size for symbols r=matklad a=matklad Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
d65dca6bb3
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue