-
Notifications
You must be signed in to change notification settings - Fork 554
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
Various OAuth related fixes #2871
Conversation
Fixes #2816 |
// Optimized version of: | ||
// return input.split(' ').includes(value) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems pretty nice! Is there an issue with using this implementation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The split()
implementation is about 10 times slower (in firefox). I'm just tying to save the planet here, one CPU cycle at the time 😅.
Co-authored-by: devin ivy <devinivy@gmail.com>
No description provided.