Skip to content

Commit

Permalink
fix: update bench/search.ml to the new API of Db
Browse files Browse the repository at this point in the history
  • Loading branch information
FardaleM committed Nov 4, 2024
1 parent e1e2f4d commit 352b04f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bench/search.ml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ let () =
@@ Index_not_found (Fmt.str "cannot open index file `%a'" Fpath.pp path)
in
let search_exhaustive ty =
let it = Db.find_exhaustive idx env ty in
let it = Db.find ~filter:`None idx env ty in
Iter.max it
in
let search_trie ty =
let it = Db.find_with_trie idx env ty in
let it = Db.find ~filter:`OnlyTrie idx env ty in
Iter.max it
in
let search_trie_poset ty =
let it = Db.find idx env ty in
let it = Db.find ~filter:`Default idx env ty in
Iter.max it
in
let make_res ty =
Expand Down

0 comments on commit 352b04f

Please sign in to comment.