TinkerStorm / shuffle-theory

Research into different shuffling theories and how they may effect a service as it scales across shards and clusters.
https://discord.gg/z5DPVHNBuw
GNU General Public License v3.0
0 stars 0 forks source link

Move to standalone implementation #4

Open sudojunior opened 2 years ago

sudojunior commented 2 years ago

Currently, chance handles the weight in the core aspect of the computation, as well as generating and selecting the data used in the environment. Moving away from this would mean relying on Math.random() or use something like park-miller - while not completely random, passing Date.now() would serve as a reasonably random seed to begin with.

I guess we'll see...