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

[icons] fix(IconLoader): improve performance of isValidIconName #6393

Merged
merged 1 commit into from
Sep 20, 2023

Conversation

okaynik
Copy link
Contributor

@okaynik okaynik commented Sep 19, 2023

Fixes #6389

Checklist

  • Includes tests
  • Update documentation

Changes proposed in this pull request:

Precompute all icon names instead of creating an object every time.

@adidahiya
Copy link
Contributor

improve performance of icon check

Build artifact links for this commit: documentation | landing | table | demo

This is an automated comment from the deploy-preview CircleCI job.

Copy link
Contributor

@adidahiya adidahiya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is great, thanks @okaynik!

@adidahiya adidahiya merged commit d72e6de into develop Sep 20, 2023
12 checks passed
@adidahiya adidahiya deleted the nm/icon-perf branch September 20, 2023 12:27
@adidahiya adidahiya changed the title improve performance of icon check [icons] fix(IconLoader): improve performance of isValidIconName Sep 20, 2023
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.

Suggested perf improvement for high-scale icon rendering
2 participants