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

More efficient hex generation #496

Merged
merged 1 commit into from
Jul 6, 2020
Merged

More efficient hex generation #496

merged 1 commit into from
Jul 6, 2020

Conversation

slisaasquatch
Copy link
Contributor

The current implementation allocates a new array of hex constants every time the method is called, and it uses a StringBuilder when the length of the final result is known. Seems like an easy win to me.

@codingricky codingricky merged commit 1d8d582 into DiUS:master Jul 6, 2020
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