mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-29 19:07:15 +02:00
un-inlined pow2_quadratic_prober memfuns to see it impacts performance
This commit is contained in:
@ -408,9 +408,9 @@ struct pow2_quadratic_prober
|
||||
{
|
||||
pow2_quadratic_prober(std::size_t pos_):pos{pos_}{}
|
||||
|
||||
inline std::size_t get()const{return pos;}
|
||||
std::size_t get()const{return pos;}
|
||||
|
||||
inline bool next(std::size_t mask)
|
||||
bool next(std::size_t mask)
|
||||
{
|
||||
step+=1;
|
||||
pos=(pos+step)&mask;
|
||||
|
Reference in New Issue
Block a user