Skip to content

Commit

Permalink
Use Fun.id in BenchSet
Browse files Browse the repository at this point in the history
  • Loading branch information
sim642 committed Mar 14, 2023
1 parent 8d12ab3 commit 34a0193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bench/basic/benchSet.ml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ open Benchmark.Tree

module IS = Set.Make (Int)

let set1 = IS.of_seq (Seq.init 1024 (fun i -> i))
let set1 = IS.of_seq (Seq.init 1024 Fun.id)
let set2 = IS.of_seq (Seq.init 1024 (fun i -> i + 1))
let set3 = IS.of_seq (Seq.init 1024 (fun i -> i - 1))

Expand Down

0 comments on commit 34a0193

Please sign in to comment.