diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-04-25 19:10:14 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-04-25 19:10:14 +0000 |
commit | 2b3a5a83ea30bde7fa8f9d8e9a0cb12623759bfb (patch) | |
tree | 199e6ab0d80634d039ed6cc148c6cc4e6d10b1d7 /lib/Basic/IdentifierTable.cpp | |
parent | 740782a78386ad3c64c670ba9b1619545bbb4901 (diff) |
Write the identifier offsets array into the PCH file as a blob, so
that the PCH reader does not have to decode the VBR encoding at PCH
load time.
Also, reduce the size of the identifier offsets from 64 bits down to
32 bits. The identifier table itself isn't going to grow to more than
4GB :)
Overall, this results in a 13% speedup in the Cocoa-prefixed "Hello,
World" benchmark.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70063 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/IdentifierTable.cpp')
0 files changed, 0 insertions, 0 deletions