diff options
author | Chris Lattner <sabre@nondot.org> | 2007-04-03 22:15:38 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-04-03 22:15:38 +0000 |
commit | ef4c916193e49e20c492f73147b3872b01c23862 (patch) | |
tree | 26fa92ed929791ab3cc3ddc9d9a0c25978fccc78 /lib/Support/StringMap.cpp | |
parent | 2a088e4f09617d43668b75b727f650d6ebfeb77c (diff) |
greatly reduce hte default size of stringmap.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35632 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/StringMap.cpp')
-rw-r--r-- | lib/Support/StringMap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/StringMap.cpp b/lib/Support/StringMap.cpp index 95ff2bbe94..a84cd9dbc6 100644 --- a/lib/Support/StringMap.cpp +++ b/lib/Support/StringMap.cpp @@ -18,7 +18,7 @@ using namespace llvm; StringMapImpl::StringMapImpl(unsigned InitSize, unsigned itemSize) { assert((InitSize & (InitSize-1)) == 0 && "Init Size must be a power of 2 or zero!"); - NumBuckets = InitSize ? InitSize : 512; + NumBuckets = InitSize ? InitSize : 16; ItemSize = itemSize; NumItems = 0; NumTombstones = 0; |