diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2014-08-10 23:35:27 +0200 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2014-09-15 16:08:50 +0200 |
commit | 923041cb0ab7c1795e74fa1ce4b38a6114727a3c (patch) | |
tree | 258b99d4947f14d4fe3ace5bff23bf4c8b0eaa05 /src/notify | |
parent | 631b9deefbef76c5f69b165f33cb46690c938c95 (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/notify')
0 files changed, 0 insertions, 0 deletions