summaryrefslogtreecommitdiff
path: root/lib/Serialization/Module.cpp
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2014-05-21 13:28:59 +0000
committerManuel Klimek <klimek@google.com>2014-05-21 13:28:59 +0000
commit0a0e27db47b38a159e94c2e8c6e1f5914167a2e1 (patch)
tree007566c475a1d86ee2aac7f37ac15e3b606917a4 /lib/Serialization/Module.cpp
parenteea3b587677473be19533cf27db0b748a0c9e9b2 (diff)
downloadclang-0a0e27db47b38a159e94c2e8c6e1f5914167a2e1.tar.gz
clang-0a0e27db47b38a159e94c2e8c6e1f5914167a2e1.tar.bz2
clang-0a0e27db47b38a159e94c2e8c6e1f5914167a2e1.tar.xz
Make the parent-map use significantly less memory.
On test files I ran this on, memory consumption overall went down from 2.5G to 2G, without performance regressions. I also investigated making DynTypedNode by itself smaller (by pulling out pointers for everything that doesn't fit in 8 bytes). This led to another 200-300MB saved, but also introduced a significant regression in performance due to the memory management overhead. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209297 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/Module.cpp')
0 files changed, 0 insertions, 0 deletions