Incr_map_collate.Key_rankThis Key_rank module and it's associated key_rank' accessor function are primarily used to allow key ranking to move between threads using OCaml's portability mode. If you dont' care about using Incr_map_collate in a separate thread, then you can ignore this and just use the regular key_rank function.
val lookup : ('k, _, _) t -> 'k -> int option