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 | 64df4ba422e3eacde6de8014854f075ba38d6c7e (patch) | |
tree | 5625aaaf741497001f897c35ec92d9c6edacc32b /llvm/lib/Support/StringMap.cpp | |
parent | 85b0927c4badb0a5f15670d26ecbd694c64f5cd8 (diff) | |
download | bcm5719-llvm-64df4ba422e3eacde6de8014854f075ba38d6c7e.tar.gz bcm5719-llvm-64df4ba422e3eacde6de8014854f075ba38d6c7e.zip |
greatly reduce hte default size of stringmap.
llvm-svn: 35632
Diffstat (limited to 'llvm/lib/Support/StringMap.cpp')
-rw-r--r-- | llvm/lib/Support/StringMap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/StringMap.cpp b/llvm/lib/Support/StringMap.cpp index 95ff2bbe94a..a84cd9dbc64 100644 --- a/llvm/lib/Support/StringMap.cpp +++ b/llvm/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; |