commit | 57ce0319b7eb4418aac910d9a094e57d983a64d2 | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Tue Jul 01 07:02:30 2008 +0000 |
committer | Owen Anderson <resistor@mac.com> | Tue Jul 01 07:02:30 2008 +0000 |
tree | b0751eb70fc4d6eeb33ce92e3c01c731f4589186 | |
parent | ff4d609ec5eca4fc30a931a505d0c18f7569f8c4 [diff] |
Implement suggestions from Chris: - Use a more accurate heuristic for the size of the hashtable. - Use bitwise and instead of modulo since the size is a power of two. - Use new[] instead of malloc(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52951 91177308-0d34-0410-b5e6-96231b3b80d8