forked from boostorg/unordered
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_}{}
|
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;
|
step+=1;
|
||||||
pos=(pos+step)&mask;
|
pos=(pos+step)&mask;
|
||||||
|
Reference in New Issue
Block a user