-
Notifications
You must be signed in to change notification settings - Fork 80
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
Fixing batch sampling #416
Conversation
Separate the creation of the batch_sampler in a separate internal method. While doing that some small issues related to the nc= values were fixed.
Pull Request Test Coverage Report for Build 3596317313
💛 - Coveralls |
was confusing whether b refers to batch or base. Furthermore what was needed is just nlive_new
also get rid of blob in the IteratorShort as that is not used for anything other than printing
update the selection of the upper boundary for batch selection
Any comments @joshspeagle, otherwise I'll merge and aim to push a quick release, as the performance issue is pretty substantial. |
Unfortunately, I don't have time for a detailed review on this over the next day or two, so I'd say just merge this in to go for the performance improvement (well, some return to some past performance + all the additional changes). Thanks as always for continuing to clean up all the internals. The code is so much easier to work with now compared to when you first started taking a hammer to things. |
add myself to author field in setup.py
This PR started as a fix to #415 , but because of the issue i thought we need to refactor that code,
so I've now completely separated the creation of the batch_sampler in a distinct method that makes things much easier to understand.
Also I've added more tests, some of which would have been tripped before the #415 fix