From 07b452b4d4fde789abe4b59c429243ca433bc62f Mon Sep 17 00:00:00 2001 From: joaquintides Date: Thu, 27 Oct 2022 12:53:29 +0200 Subject: [PATCH] s/prefetch_elements/prefe --- include/boost/unordered/detail/foa.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/unordered/detail/foa.hpp b/include/boost/unordered/detail/foa.hpp index 5f731494..f43d95f9 100644 --- a/include/boost/unordered/detail/foa.hpp +++ b/include/boost/unordered/detail/foa.hpp @@ -1556,7 +1556,8 @@ private: auto mask=pg->match(hash); if(mask){ auto p=arrays.elements+pos*N; - prefetch_elements(p); + //prefetch_elements(p); + prefetch(p); do{ auto n=unchecked_countr_zero(mask); if(BOOST_LIKELY(bool(pred()(x,key_from(p[n]))))){