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

How is unicode_data.rs generated? #37

Open
bjorn3 opened this issue Jun 8, 2023 · 1 comment
Open

How is unicode_data.rs generated? #37

bjorn3 opened this issue Jun 8, 2023 · 1 comment

Comments

@bjorn3
Copy link

bjorn3 commented Jun 8, 2023

The comment at the top says that it is automatically generated, but I can't find what code generated it.

@bjorn3
Copy link
Author

bjorn3 commented Jun 8, 2023

Using static instead of const everywhere in unicode_data.rs would save about 300ms on the compilation time by avoiding an extra copy in the compiler when const promoting the consts which effectively generates a static behind the scenes anyway.

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

No branches or pull requests

1 participant