mirror of
https://github.com/NixOS/nix
synced 2025-06-25 10:41:16 +02:00
symbol-table: reduce memory usage and use boost::unordered_flat_set
This commit is contained in:
parent
32d19040e7
commit
94bbaddb93
5 changed files with 199 additions and 59 deletions
|
@ -606,7 +606,7 @@ void ExprLambda::setDocComment(DocComment docComment) {
|
|||
size_t SymbolTable::totalSize() const
|
||||
{
|
||||
size_t n = 0;
|
||||
dump([&] (const std::string & s) { n += s.size(); });
|
||||
dump([&] (SymbolStr s) { n += s.size(); });
|
||||
return n;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue