Skip to content

Commit

Permalink
feat: use CCArray.fast_sort instead of Array.sort for NSet
Browse files Browse the repository at this point in the history
  • Loading branch information
FardaleM committed Oct 9, 2024
1 parent 9282bb0 commit 38a36eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/common/Type.ml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ end = struct
type t = elt Array.t

let compare = CCArray.compare Base.compare
let sort = CCArray.sort Base.compare
let sort = CCArray.fast_sort Base.compare

let of_list lst =
let t = CCArray.of_list lst in
Expand Down

0 comments on commit 38a36eb

Please sign in to comment.