Skip to content

Commit

Permalink
Clarify the order of optimized splits
Browse files Browse the repository at this point in the history
  • Loading branch information
Halbaroth committed Oct 13, 2023
1 parent 275a929 commit 5c67969
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/reasoners/relation.ml
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,9 @@ let optimizing_split env uf opt_split =
Rel5.optimizing_split env.r5 uf;
Rel6.optimizing_split env.r6 uf;
Rel7.optimizing_split env.r7 uf ]
(* (* Currently, we optimize one split per call and the below
sorting has no effects since the list contains at most one element. *)
|> List.fast_sort (fun a b -> a.Th_util.order - b.Th_util.order) *)
(* Currently, we optimize one split per call of this function. If we
support multiple optimizations some day, we'll need to sort the splits
in order to process them in the user-defined order. *)

let add env uf r t =
Options.exec_thread_yield ();
Expand Down

0 comments on commit 5c67969

Please sign in to comment.