-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
improve performance of rand(n:m)
#29004
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
Labels
Comments
Reference issue on the speed of |
rfourquet
added a commit
that referenced
this issue
Sep 18, 2018
rfourquet
added a commit
that referenced
this issue
Sep 18, 2018
rfourquet
added a commit
that referenced
this issue
Sep 18, 2018
rfourquet
added a commit
that referenced
this issue
Apr 11, 2020
rfourquet
added a commit
that referenced
this issue
Apr 21, 2020
rfourquet
added a commit
that referenced
this issue
Apr 27, 2020
rfourquet
added a commit
that referenced
this issue
May 1, 2020
StefanKarpinski
added a commit
that referenced
this issue
May 1, 2020
* implement "nearly division less" algorithm for rand(a:b) Cf. https://arxiv.org/abs/1805.10941. Closes #20582, #29004. * fix overflow error in tests * make NDL the default algo * update NEWS.md * try make tests pass on 32-bits machines * add a comment for mod(-s, s) * remove vestigial transient `fast` function, and update comments
Closed by #29240. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A recently published algorithm is unbiased and more performant than
rand(n:m)
.See https://discourse.julialang.org/t/rand-1-10-vs-int-round-10-rand/14339/10.
The text was updated successfully, but these errors were encountered: