Changes in directory llvm/include/llvm/ADT:
StringMap.h updated: 1.13 -> 1.14
---
Log message:
use calloc instead of new/memset, it is more efficient
---
Diffs of the changes: (+1 -1)
StringMap.h |2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/include/llvm/ADT/Strin
Changes in directory llvm/include/llvm/ADT:
StringMap.h updated: 1.12 -> 1.13
---
Log message:
Extend StringMap to support being initialized as completely empty. When
initialized this way, they do not do a malloc to allocate their buckets.
---
Diffs of the changes: (+24 -11)
StringMap.h |
Changes in directory llvm/include/llvm/ADT:
StringMap.h updated: 1.11 -> 1.12
---
Log message:
add new ShouldRehash method to factor out common code. Fix the dtor to not
delete tombstones.
---
Diffs of the changes: (+14 -12)
StringMap.h | 26 ++
1 files changed,
On Sun, 11 Feb 2007, Reid Spencer wrote:
>> +// If the hash table is now more than 3/4 full, or if fewer than 1/8 of
>> +// the buckets are empty (meaning that many are filled with tombstones),
>> +// grow the table.
>
> If I get this right, it could also shrink the table, right?
nope,
Chris,
some comments ..
On Sun, 2007-02-11 at 15:07 -0600, Chris Lattner wrote:
>
> Changes in directory llvm/include/llvm/ADT:
>
> StringMap.h updated: 1.10 -> 1.11
> ---
> Log message:
>
> do not allow hash table to be filled with tombstones.
>
>
> ---
> Diffs of the changes: (+10 -4)
>
Changes in directory llvm/include/llvm/ADT:
StringMap.h updated: 1.10 -> 1.11
---
Log message:
do not allow hash table to be filled with tombstones.
---
Diffs of the changes: (+10 -4)
StringMap.h | 14 ++
1 files changed, 10 insertions(+), 4 deletions(-)
Index: llvm/include
Changes in directory llvm/include/llvm/ADT:
StringMap.h updated: 1.9 -> 1.10
---
Log message:
Add support for removing elements out of StringMap.
---
Diffs of the changes: (+42 -1)
StringMap.h | 43 ++-
1 files changed, 42 insertions(+), 1 deletion
Changes in directory llvm/include/llvm/ADT:
StringMap.h updated: 1.8 -> 1.9
---
Log message:
Replace the ugly FindValue method with STL-like find methods.
---
Diffs of the changes: (+16 -5)
StringMap.h | 21 -
1 files changed, 16 insertions(+), 5 deletions(-)
Index:
Changes in directory llvm/include/llvm/ADT:
StringMap.h updated: 1.7 -> 1.8
---
Log message:
remove support for stringmap visitors now that iterators exist.
---
Diffs of the changes: (+0 -10)
StringMap.h | 10 --
1 files changed, 10 deletions(-)
Index: llvm/include/llvm/ADT/Str
Changes in directory llvm/include/llvm/ADT:
StringMap.h updated: 1.6 -> 1.7
---
Log message:
add iterator support, plus support for size() and empty().
---
Diffs of the changes: (+75 -1)
StringMap.h | 76 +++-
1 files changed, 75 in
Changes in directory llvm/include/llvm/ADT:
StringMap.h updated: 1.5 -> 1.6
---
Log message:
Split StringMapEntry construction out of StringMap, into StringMapEntry.
---
Diffs of the changes: (+55 -28)
StringMap.h | 83 +++-
1 files
Changes in directory llvm/include/llvm/ADT:
StringMap.h updated: 1.4 -> 1.5
CStringMap.h (r1.4) removed
---
Log message:
Rename CStringMap -> StringMap, since it now supports nul characters in the
strings.
---
Diffs of the changes: (+17 -17)
StringMap.h | 34 +
12 matches
Mail list logo