borg/src
Radu Ciorba 12e0f55991 replace modulo with if to check for wraparound in hashmap
Integer division is slow, and this improves the speed of all operations on the hashmap.

Benchmarked this patch on the rciorba/master-bench branch:
9e5d61e03c/results.html
2017-07-20 13:22:34 +03:00
..
borg replace modulo with if to check for wraparound in hashmap 2017-07-20 13:22:34 +03:00