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

Reduced execution time of hexToRgb function by ~70% #1534

Merged
merged 2 commits into from
Sep 5, 2023
Merged

Reduced execution time of hexToRgb function by ~70% #1534

merged 2 commits into from
Sep 5, 2023

Conversation

EthanBnntt
Copy link
Contributor

Coded to use less regex.
On average, "indexOf" performs better than "parseInt."

  • I agree to license my contribution under LGPL-3.0 or my contribution is from another project with a license compatible with LGPL-3.0

To test this pull request, follow the instructions in the wiki.


EthanBnntt and others added 2 commits October 13, 2022 14:48
Coded to use less regex.
On average, "indexOf" performs better than "parseInt."
@ajayyy ajayyy merged commit 48cdabe into ajayyy:master Sep 5, 2023
2 checks passed
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