swash icon indicating copy to clipboard operation
swash copied to clipboard

How is unicode_data.rs generated?

Open bjorn3 opened this issue 2 years ago • 2 comments

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

bjorn3 avatar Jun 08 '23 16:06 bjorn3

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.

bjorn3 avatar Jun 08 '23 17:06 bjorn3