Skip to content

Commit

Permalink
Fix build warning and failing benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
br4sco committed Nov 13, 2023
1 parent 5345d9a commit 9af3de6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/microbenchmark/run
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/sh
ocaml unix.cma run.ml $1 $2 $3 $4 $5
ocaml -I +unix unix.cma run.ml $1 $2 $3 $4 $5
2 changes: 1 addition & 1 deletion test/microbenchmark/split_rope.ml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ let rec sum acc s =
let t = Rope.sub_array s 1 (Rope.length_array s) in
sum (acc + h) t

let s = Rope.create 1000 (fun i -> i)
let s = Rope.create_array 1000 (fun i -> i)

let _ = Benchmarkcommon.repeat (fun () -> sum 0 s)

0 comments on commit 9af3de6

Please sign in to comment.