-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
None
-
None
The current bias correction algorithm involves a remainder operation which is really expensive. We can use another algorithm mentioned by Lemire in https://lemire.me/blog/2016/06/30/fast-random-shuffling/ to avoid having to do division in the vast majority of the cases.