greatly reduce hte default size of stringmap.
llvm-svn: 35632
diff --git a/llvm/lib/Support/StringMap.cpp b/llvm/lib/Support/StringMap.cpp
index 95ff2bb..a84cd9d 100644
--- a/llvm/lib/Support/StringMap.cpp
+++ b/llvm/lib/Support/StringMap.cpp
@@ -18,7 +18,7 @@
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;