Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify StateNode equality check #12

Merged
merged 1 commit into from
May 7, 2020
Merged

Simplify StateNode equality check #12

merged 1 commit into from
May 7, 2020

Conversation

liangdrew
Copy link
Member

Since field values are sorted, checking equality for two StateNode-s can be as simple as an equality check on the two internal state maps.

Closes #11.

Since field values are sorted, checking equality for two StateNode-s can be as simple as an equality check on the two internal state maps.
@liangdrew liangdrew requested a review from pxlcoder May 7, 2020 17:19
@liangdrew liangdrew merged commit 1d81e13 into master May 7, 2020
@liangdrew liangdrew deleted the simplify-equals branch May 7, 2020 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Simplify StateNode equality check
3 participants