summaryrefslogtreecommitdiff
path: root/src/shared/hashmap.c
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2014-10-13 18:11:16 +0200
committerMichal Schmidt <mschmidt@redhat.com>2014-10-23 17:38:02 +0200
commit5ba43716f345e205eba33156c0171fb657f4451f (patch)
tree7fc5c32abf159a3dd646c7ade5e16dce25c8c4a3 /src/shared/hashmap.c
parent6baa7db00812437bbc87e73faa1a11b6cf631958 (diff)
hashmap: add OrderedHashmap as a distinct type
Few Hashmaps/Sets need to remember the insertion order. Most don't care about the order when iterating. It would be possible to use more compact hashmap storage in the latter cases. Add OrderedHashmap as a distinct type from Hashmap, with functions prefixed with "ordered_". For now, the functions are nothing more than inline wrappers for plain Hashmap functions.
Diffstat (limited to 'src/shared/hashmap.c')
0 files changed, 0 insertions, 0 deletions