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

Remove unnecessary toList() call that was slowing down initialization #1648

Merged
merged 1 commit into from
Apr 11, 2022

Conversation

kstenerud
Copy link
Contributor

Goal

NativeBridge.is32Bit() had an unnecessary toList() call that for some reason was adding 25ms to the startup time. Removing it brings the time back down to sub-millisecond.

Testing

Manual testing, reran all tests.

@kstenerud kstenerud requested a review from lemnik April 8, 2022 08:05
Copy link
Contributor

@lemnik lemnik left a comment

Choose a reason for hiding this comment

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

LGTM - Pending CI

@kstenerud kstenerud merged commit 1c52d4e into next Apr 11, 2022
@kstenerud kstenerud deleted the remove-tolist branch April 11, 2022 07:03
@lemnik lemnik mentioned this pull request Apr 28, 2022
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