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
Feature Description
I realized that an alternative to using swaps for shuffling would be using a permutation where each locale could calculate the destination index from the source index directly. So using a pseudorandom permutation from something like a Feistel cipher should be decent enough to shuffle arrays and not be too computationally expensive.
Example Behavior
Shuffle flat arrays
Describe Workarounds
There are current implementations for shuffling, but I'd like to investigate whether or not performance could be better.
Activity
Closes Bears-R-Us#4787: Shuffling alternative
Closes Bears-R-Us#4787: Shuffling alternative
Closes Bears-R-Us#4787: Shuffling alternative
Closes Bears-R-Us#4787: Shuffling alternative
Closes Bears-R-Us#4787: Shuffling alternative
Closes #4787: Shuffling alternative (#4789)