Closed ttdtrang closed 3 years ago
Hey @ttdtrang, thanks for the PR. We're looking in to these changes (but are a bit crunched due to the release cycle right now) and will get back to you! Sorry for the delay.
Hi again, sorry (again) for the delay.
Could you be a bit more specific about the speedups you're seeing here? e.g., can you put some benchmarking results in here?
I'll try to get to this over the holiday break, but given the size of the change it will likely involve writing a test suite, which is going to take some time unfortunately.
Thanks for your patience!
Hi Alyssa,
I'm thinking about doing benchmark tests too, but haven't had a chance to sit down to it. I'll let you know as soon as I have some!
Bests, Trang
I try to speed up the code a bit by
if else
sThese changes result in significant speedup when one performs a large simulation (e.g. thousands of samples).