-
Notifications
You must be signed in to change notification settings - Fork 19
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
A handful of tentative performance improvements #295
Conversation
src/symbolic/symbolic_choice.ml
Outdated
@@ -366,7 +366,7 @@ let get_model_or_stop symbol = | |||
| Some v -> return v | |||
end | |||
|
|||
let select (cond : Symbolic_value.vbool) = | |||
let select_inner ?(explore_first = true) (cond : Symbolic_value.vbool) = |
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.
Could you use ~explore_first
instead ? I don't really like optional arguments TBH, and here the function is used in only two places so it's not that tedious
LGTM once we checked that the 1st and 3rd one are actually leading to better results, which I would expect (+ my nitpicks comments). |
@krtab, I wanted to run the benchmarks on the server, but the code actually does not typecheck |
8501a5a
to
4e76f58
Compare
@zapashcanon let me know if you want them in separate PRs