mirror of
https://github.com/c-cube/iter.git
synced 2025-12-06 03:05:29 -05:00
update benchmarks
This commit is contained in:
parent
e6af6792d2
commit
4c6cd1560c
1 changed files with 2 additions and 2 deletions
|
|
@ -10,10 +10,10 @@ let bench_fold n =
|
||||||
0 -- n |> S.fold (+) 0 |> ignore
|
0 -- n |> S.fold (+) 0 |> ignore
|
||||||
|
|
||||||
let bench_flatmap n =
|
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 =
|
let bench_product n =
|
||||||
S.product (0 -- n) (0 -- n) (fun (i,j) -> ())
|
S.product (0 -- n) (0 -- n) (fun _ -> ())
|
||||||
|
|
||||||
let _ =
|
let _ =
|
||||||
List.iter
|
List.iter
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue