[cfe-commits] r39377 - /cfe/cfe/trunk/include/clang/Basic/FileManager.h
clattner at cs.uiuc.edu
clattner at cs.uiuc.edu
Wed Jul 11 09:43:46 PDT 2007
Author: clattner
Date: Wed Jul 11 11:43:46 2007
New Revision: 39377
URL: http://llvm.org/viewvc/llvm-project?rev=39377&view=rev
Log:
Specify an initial size for StringMap's
Modified:
cfe/cfe/trunk/include/clang/Basic/FileManager.h
Modified: cfe/cfe/trunk/include/clang/Basic/FileManager.h
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/include/clang/Basic/FileManager.h?rev=39377&r1=39376&r2=39377&view=diff
==============================================================================
--- cfe/cfe/trunk/include/clang/Basic/FileManager.h (original)
+++ cfe/cfe/trunk/include/clang/Basic/FileManager.h Wed Jul 11 11:43:46 2007
@@ -82,7 +82,7 @@
unsigned NumDirLookups, NumFileLookups;
unsigned NumDirCacheMisses, NumFileCacheMisses;
public:
- FileManager() : NextFileUID(0) {
+ FileManager() : DirEntries(64), FileEntries(64), NextFileUID(0) {
NumDirLookups = NumFileLookups = 0;
NumDirCacheMisses = NumFileCacheMisses = 0;
}
More information about the cfe-commits
mailing list