mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-30 03:17:15 +02:00
Update concurrent_table to use macro-based prefetching
This commit is contained in:
@ -949,7 +949,7 @@ private:
|
|||||||
auto mask=pg->match(hash);
|
auto mask=pg->match(hash);
|
||||||
if(mask){
|
if(mask){
|
||||||
auto p=this->arrays.elements+pos*N;
|
auto p=this->arrays.elements+pos*N;
|
||||||
this->prefetch_elements(p);
|
BOOST_UNORDERED_PREFETCH_ELEMENTS(p);
|
||||||
auto lck=access(access_mode,pos);
|
auto lck=access(access_mode,pos);
|
||||||
do{
|
do{
|
||||||
auto n=unchecked_countr_zero(mask);
|
auto n=unchecked_countr_zero(mask);
|
||||||
|
Reference in New Issue
Block a user