You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suggest we postpone this implementation until we get #157 taken care of. Which would allow us to depend on primitive, thus making efficient and bias free implementation of shuffleList trivial.
The text was updated successfully, but these errors were encountered:
lehins
changed the title
Rewrite shiffleListM using array
Rewrite shuffleListM using array
Oct 28, 2024
Initial version of
shuffleListM
was introduced in #140Current implementation is very simple and suboptimal, as pointed out in this comment
We need some basic array support with mutation in order to implement Fisher-Yates shuffle. Here is an example of such implementation
I suggest we postpone this implementation until we get #157 taken care of. Which would allow us to depend on
primitive
, thus making efficient and bias free implementation ofshuffleList
trivial.The text was updated successfully, but these errors were encountered: