summaryrefslogtreecommitdiff
path: root/src/path
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2014-08-10 23:35:27 +0200
committerMichal Schmidt <mschmidt@redhat.com>2014-09-15 16:08:50 +0200
commit923041cb0ab7c1795e74fa1ce4b38a6114727a3c (patch)
tree258b99d4947f14d4fe3ace5bff23bf4c8b0eaa05 /src/path
parent631b9deefbef76c5f69b165f33cb46690c938c95 (diff)
hashmap: minor hashmap_replace optimization
When hashmap_replace detects no such key exists yet, it calls hashmap_put that performs the same check again. Avoid that by splitting the core of hashmap_put into a separate function.
Diffstat (limited to 'src/path')
0 files changed, 0 insertions, 0 deletions