]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/common: lookup using unordered_map first
authorKefu Chai <kchai@redhat.com>
Sun, 3 Feb 2019 12:32:04 +0000 (20:32 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 19 Feb 2019 06:44:03 +0000 (14:44 +0800)
commita408f7e2e5a94c709e5d6e1955295aeef586139d
tree2fd84250b6730f7e8f7dfcf4e0af680000123776
parenta6caf09a43da1e216ab3bf24cb4732d539d03d18
crimson/common: lookup using unordered_map first

assuming the unordered_map in LRU cache is faster.

inspired by #25480 by Radoslaw Zarzynski

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/common/shared_lru.h