Skip to content

Commit

Permalink
Note on possible improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
FardaleM committed Aug 27, 2024
1 parent 4a928f0 commit e335faa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/unification/Env.ml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ let merge e1 e2 =
in
let stack = ref [] in
(* TODO: we should use a Unification.Stack.t for stack but we would get a module cycle *)
let vars = Variable.Map.merge
let vars = Variable.Map.merge (* TODO: Test physical equality to skip merging vars, not sure this will help, we need to think about a way to do stuff faster. *)
(fun v t1 t2 ->
match t1, t2 with
| None, None -> None
Expand Down

0 comments on commit e335faa

Please sign in to comment.