Skip to content

Commit

Permalink
update benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
c-cube committed Dec 25, 2016
1 parent e6af679 commit 4c6cd15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bench/benchs.ml
Expand Up @@ -10,10 +10,10 @@ let bench_fold n =
0 -- n |> S.fold (+) 0 |> ignore

let bench_flatmap n =
0 -- n |> S.flatMap (fun i -> i -- (i+5)) |> (fun _ -> ())
0 -- n |> S.flat_map (fun i -> i -- (i+5)) |> (fun _ -> ())

let bench_product n =
S.product (0 -- n) (0 -- n) (fun (i,j) -> ())
S.product (0 -- n) (0 -- n) (fun _ -> ())

let _ =
List.iter
Expand Down

0 comments on commit 4c6cd15

Please sign in to comment.