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

refactor: lookup promise statics from object instead of array #131

Merged
merged 1 commit into from
May 24, 2018

Conversation

macklinu
Copy link
Contributor

What is the purpose of this pull request?

  • Documentation update
  • Bug fix
  • New rule
  • Changes an existing rule
  • Add autofixing to a rule
  • Other, please explain: minor optimization

What changes did you make? (Give an overview)

This is a small optimization to lookup Promise static method names from an object (O(1)) instead of an array (O(n)).

@macklinu macklinu merged commit 9b0cbd1 into master May 24, 2018
@macklinu macklinu deleted the refactor/promise-static-lookup branch May 24, 2018 20:27
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.

None yet

1 participant