-
Notifications
You must be signed in to change notification settings - Fork 10
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
number of iterations limited by type #99
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pub const MAX_N_ITER = 100_000;
might rename this to "DEFAULT_MAX_N_ITER"
OK looks fine for me now. Ended up making a larger re-write of the whole spin-up phase. Runs much more efficient now, spin-up only runs until the time budget is depleted or N_MAX_ITER exceeded. The actual N to run is chosen so that the time budget is used completely, instead of using some rather arbitrary-looking power-of-two. I think this code was from back in the days where there was no time budget. |
Man looks great! Liked the refactoring |
Thanks! I'll wait with the merge until the weekend if @bens wants to have a look since he contributed the runner implementation (at least the part I modified). |
addresses #98