Skip to content

hashmap improvements

Karsten Blees git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4hashmap: factor out getting an int hash code from a, SHA1Documentation/technical/api-hashmap.txt builtin/describe.c decorate.c +5 more+29 -401 reply
2/4hashmap: improve struct hashmap member documentationDocumentation/technical/api-hashmap.txt+12 -40 replies
3/4hashmap: add simplified hashmap_get_from_hash() APIDocumentation/technical/api-hashmap.txt builtin/describe.c diffcore-rename.c +3 more+31 -183 replies
4/4hashmap: add string interning APIDocumentation/technical/api-hashmap.txt hashmap.c hashmap.h +2 more+88 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/4] hashmap improvements

Here are a few small hashmap improvements, partly resulting from recent discussion of the config-cache topic.

Karsten Blees (4):
hashmap: factor out getting an int hash code from a SHA1
hashmap: improve struct hashmap member documentation
hashmap: add simplified hashmap_get_from_hash() API
hashmap: add string interning API

 Documentation/technical/api-hashmap.txt | 54 ++++++++++++++++++++++++++++++---
 builtin/describe.c                      | 13 ++------
 decorate.c                              |  5 +--
 diffcore-rename.c                       | 11 +++----
 hashmap.c                               | 38 +++++++++++++++++++++++
 hashmap.h                               | 27 +++++++++++++++++
 khash.h                                 | 11 ++-----
 name-hash.c                             |  5 ++-
 object.c                                | 13 +-------
 pack-objects.c                          |  5 ++-
 t/t0011-hashmap.sh                      | 13 ++++++++
 test-hashmap.c                          | 25 ++++++++++-----
 12 files changed, 159 insertions(+), 61 deletions(-)
Signature · 1 line
1.9.4.msysgit.0.dirty