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

RNG should support concurrent generation #88

kyonifer opened this Issue Oct 30, 2018 · 0 comments


None yet
1 participant

kyonifer commented Oct 30, 2018

For some applications such as Monte-Carlo, random number generation can be the bottleneck in performance. It would be useful to support a concurrent RNG that can generate numbers in multiple threads (probably using a fork join pool and/or coroutines) using all available cores and zip them back into a single stream for the requesting thread. This would probably only make sense for large arrays, so a hybrid single/multi-threaded approach may be appropriate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment