perf: tiny detail in int indices in solver

This commit is contained in:
Simon Cruanes 2021-07-20 23:34:38 -04:00
parent 29892d07de
commit 97d87cc58f

View file

@ -28,7 +28,7 @@ module Mk_int_id() = struct
let compare : t -> t -> int = compare
let hash = CCHash.int
let[@inline] to_int i = i
let[@inline] of_int_unsafe i = i
external of_int_unsafe : int -> t = "%identity"
end
module Make(Plugin : PLUGIN)