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

Optimize isEqual function #49

Open
noydb opened this issue Feb 14, 2021 · 0 comments
Open

Optimize isEqual function #49

noydb opened this issue Feb 14, 2021 · 0 comments

Comments

@noydb
Copy link
Owner

noydb commented Feb 14, 2021

Shrink first list comparator when checking arrays for equalness. so if objects in both lists have matches, remove them. There will be less elements to iterate over each time. The logic checks out as well, we do not want another object that happens to be equal to the other two to match again

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

No branches or pull requests

1 participant