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

Speed up generating bit sequences with arbitrary probability of ones. #407

Open
mercere99 opened this issue Jan 4, 2021 · 0 comments
Open

Comments

@mercere99
Copy link
Member

mercere99 commented Jan 4, 2021

We have fast bit sequence generation for 0.125, 0.25, 0.375, 0.5, 0.625, 0.75, and 0.875 probabilities of ones; for other values we can generate one of those and then just modify from it to get the correct distribution, which will be faster than generating from scratch.

@mercere99 mercere99 changed the title Speed upgenerating bit sequences with arbitrary probability of ones. Speed up generating bit sequences with arbitrary probability of ones. Jan 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant