Open ClemensU42 opened 1 year ago
Is your feature request related to a problem? Please describe. The DiscreteDistribution1D.BinarySearch function is the third most intensive operation while rendering.
Describe the solution you'd like Use the alias method for DiscreteDistribution1D from this paper: https://www.keithschwarz.com/darts-dice-coins/
Is your feature request related to a problem? Please describe. The DiscreteDistribution1D.BinarySearch function is the third most intensive operation while rendering.
Describe the solution you'd like Use the alias method for DiscreteDistribution1D from this paper: https://www.keithschwarz.com/darts-dice-coins/