diff options
author | Eric Fiselier <eric@efcs.ca> | 2019-08-01 19:48:29 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2019-08-01 19:48:29 +0000 |
commit | 3eb5aec61f684e59439c30849f73dae8298f5056 (patch) | |
tree | 917617adb29a16c00b33aad48e517620a2a7a504 /clang/lib/Lex/ModuleMap.cpp | |
parent | d9d30a408e7ec9b1c201046ee887ff055ea50bb1 (diff) | |
download | llvm-3eb5aec61f684e59439c30849f73dae8298f5056.zip llvm-3eb5aec61f684e59439c30849f73dae8298f5056.tar.gz llvm-3eb5aec61f684e59439c30849f73dae8298f5056.tar.bz2 |
Change default bucket count in hash_set/hash_map.
Previously these types rehashed to a table of 193 elements
upon construction. But this is non-ideal, first because default
constructors should not allocate unless necessary, and second
because 193 is big and can waste a bunch of memory.
This number had previously been chosen to match GCC's implementation.
llvm-svn: 367605
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions