Repository navigation
ARROW-12404: [C++] Implement "random" nullary function that generates uniform random between 0 and 1 - #11864
ARROW-12404: [C++] Implement "random" nullary function that generates uniform random between 0 and 1#11864asuhan wants to merge 15 commits into
Conversation
|
|
1334b15 to
d6d83ba
Compare
d6d83ba to
f188f79
Compare
|
By the way, it's not obvious the complicated |
|
That said, it may compile down to the same formula after optimizations. I can't tell for sure. |
+1 for the simple implementation. I believe they are same, at least in theory. It's nothing more than |
f41d9a4 to
9d327a4
Compare
9d327a4 to
f96adea
Compare
|
Simplified the formula and made the seed initialization static, I think it's ready for review now. |
b1b7089 to
aa13afe
Compare
9689824 to
fa81409
Compare
|
I've made it return an array, with the length in the options. |
|
Please rebase to latest master branch and fix merge conflicts. |
e356e9f to
51d01e3
Compare
… uniform random between 0 and 1
Bypass array builder API.
51d01e3 to
7cb7031
Compare
|
Any additional feedback on this? I think I've addressed all comments |
cyb70289
left a comment
There was a problem hiding this comment.
LGTM. Thanks @asuhan !
I created jira issue to track python bind
https://issues.apache.org/jira/browse/ARROW-15219
|
@pitrou, do you have other comments? |
pitrou
left a comment
There was a problem hiding this comment.
+1 from me. I just pushed two minor changes.
|
Thank you very much for this, @asuhan ! |
|
Benchmark runs are scheduled for baseline = ab9528e and contender = ceaed97. ceaed97 is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
|
@github-actions crossbow submit debian-bullseye-amd64 |
|
Revision: 4af2978 Submitted crossbow builds: ursacomputing/crossbow @ actions-1357
|
No description provided.