Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Use the alias method for DiscreteDistribution1D #56

Open
ClemensU42 opened this issue May 19, 2023 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@ClemensU42
Copy link
Collaborator

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/

@ClemensU42 ClemensU42 added the enhancement New feature or request label May 19, 2023
@ClemensU42 ClemensU42 self-assigned this May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant