Julia Hypergeometric sampler#2032
Conversation
|
I would prefer continuing with #1994. There are a few things to address and improve in #1994 but the test setup in #1994 is superior to this PR. Moreover, by continuing with or basing a new PR on #1994 we can properly give credit to the original author of #1994. I think it's not fine to just copy (parts of) #1994 without giving credit (even though legally you can do that, of course). |
|
I don't have a preference for how we do this so long as one of these PRs is merged (or some combination). I am not a maintainer of the repo, so I can not edit #1994 to make it address code review, so as I see it, there are ~3 options.
Which of these seems like the right approach to you? Happy do go with any of them. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2032 +/- ##
==========================================
+ Coverage 86.44% 86.58% +0.14%
==========================================
Files 147 148 +1
Lines 8837 8907 +70
==========================================
+ Hits 7639 7712 +73
+ Misses 1198 1195 -3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@devmotion any thoughts on which of the above proposals seems best to you? |
alternative to #2027 that implements the Sampler interface for faster repeated random numbers.
So #2027 has 165ns rand times, while this has 125ns setup and 45ns for a 3.75x speedup when generating multiple numbers.