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

perf(extra/dropRepeats): Optimize set equality check function only inside constructor #213

Merged
merged 1 commit into from
Sep 19, 2017

Conversation

dmorosinotto
Copy link
Contributor

Little optimization to extra/dropRepeats to set equality function only inside constructor, not
checking it on every call to isEq, plus some bytes saved in code and deleting an unused public
variable (this.fn) from class.

…side constructor

Little optimization to extra/dropRepeats to set equality function only inside constructor, not
checking it on every call to isEq, plus some bytes saved in code and deleting an unused public
variable (this.fn) from class.
@staltz staltz merged commit 4bbe9a4 into staltz:master Sep 19, 2017
@staltz
Copy link
Owner

staltz commented Sep 19, 2017

Thanks @dmorosinotto for this improvement. Good PR :)

@dmorosinotto
Copy link
Contributor Author

Happy that you appreciate and merge it

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.

2 participants