From 85324f9a433cff6d8fae6019c4543224fd4ce86a Mon Sep 17 00:00:00 2001 From: joaquintides Date: Wed, 28 Sep 2022 19:13:26 +0200 Subject: [PATCH] made microchange in find_impl to see if it impacts performance --- include/boost/unordered/detail/foa.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/unordered/detail/foa.hpp b/include/boost/unordered/detail/foa.hpp index 822b49ac..3b40e304 100644 --- a/include/boost/unordered/detail/foa.hpp +++ b/include/boost/unordered/detail/foa.hpp @@ -948,7 +948,7 @@ private: prefetch_elements(p); do{ auto n=unchecked_countr_zero(mask); - if(BOOST_LIKELY(pred(x,key_from(p[n])))){ + if(BOOST_LIKELY(pred(x,type_policy::extract(p[n])))){ return {pg,n,p+n}; } mask&=mask-1;