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

Change tables from const to static #29

Merged
merged 1 commit into from Jul 24, 2022
Merged

Conversation

mjguynn
Copy link
Contributor

@mjguynn mjguynn commented Jul 23, 2022

This doesn't seem to affect performance, but it reduces the .rlib size by 20KB, the .rmeta by 28KB, and the test binary by 6KB.

Using `static` instead of `const` reduces the size of output binaries, .rlib, and .rmeta.
@Manishearth Manishearth merged commit c9f8c46 into unicode-rs:master Jul 24, 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.

None yet

2 participants