++ed by:
Author image Daisuke Maki
and 1 contributors

Changes for version 0.00012

  • Fixed an integer underflow by completely redoing the binary search -- this code was stolen from whatever ketama code I stole the algorithm from, and so it used to exist for the longest time... and so, in order to not break already hashed data that probably exists in the wild, the old binary search is left in tact. You can change the search mechanism by passing "use_hashfunc" parameter to the constructor


Ketama Consistent Hashing for Perl (XS)