Skip to content

Commit

Permalink
diff was quadratic
Browse files Browse the repository at this point in the history
  • Loading branch information
cgrand committed Nov 23, 2023
1 parent 102e67f commit a5dfc79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clj/src/cljd/data.cljd
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
an atom and compared for equality."
{:added "1.3"}
[a b]
(if (= a b)
(if (identical? a b)
[nil nil a]
(if (= (equality-partition a) (equality-partition b))
(diff-similar a b)
Expand Down

0 comments on commit a5dfc79

Please sign in to comment.