Skip to content

Consider implementing a short-circuiting fast path for quick comparison #41

Description

@oising

i.e. if I want to know if two objects are different, it would be good to have a short-circuiting boolean test method to return true if any difference (in practice, the first difference found) is detected.

I'm aware that bool Compare(a, b) exists, but it computes ALL changes every time when only the first is needed. For high performance scenarios, this has a significant overhead for larger objects.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions