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

Various OAuth related fixes #2871

Merged
merged 18 commits into from
Oct 18, 2024
Merged

Various OAuth related fixes #2871

merged 18 commits into from
Oct 18, 2024

Conversation

matthieusieben
Copy link
Contributor

No description provided.

@matthieusieben
Copy link
Contributor Author

Fixes #2816

Comment on lines +131 to +132
// Optimized version of:
// return input.split(' ').includes(value)
Copy link
Collaborator

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?

Copy link
Contributor Author

@matthieusieben matthieusieben Oct 11, 2024

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 😅.

@matthieusieben matthieusieben merged commit 9d40ccb into main Oct 18, 2024
10 checks passed
@matthieusieben matthieusieben deleted the msi/oauth-fixes branch October 18, 2024 18:23
@github-actions github-actions bot mentioned this pull request Oct 18, 2024
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