collection icon indicating copy to clipboard operation
collection copied to clipboard

`DeepCollectionEquality` takes quite many steps to realize that `e1` and `e2` are identical

Open klavs opened this issue 5 years ago • 1 comments

Maybe it should return early?

    if (identical(e1, e2)) return true;
    if (e1 == null || e2 == null) return false;

This happens when comparing lists of identical elements.

klavs avatar Apr 25 '20 23:04 klavs

Sounds reasonable.

lrhn avatar Sep 09 '20 12:09 lrhn