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: improve performance of .hasFlag() #2

Merged
merged 1 commit into from
Feb 9, 2016
Merged

Conversation

luin
Copy link
Member

@luin luin commented Feb 9, 2016

Use an object to store the flags so that we don't need to iterate the flags array every time.

BridgeAR added a commit that referenced this pull request Feb 9, 2016
perf: improve performance of .hasFlag()
@BridgeAR BridgeAR merged commit f9a1dcd into master Feb 9, 2016
@luin
Copy link
Member Author

luin commented Feb 9, 2016

Aha, that was fast. Do you have time to release a new version?

@luin luin deleted the perf/has-flag branch February 9, 2016 15:49
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