ladybird/Userland/Libraries/LibUnicode
Timothy Flynn 6719e5cb17 LibUnicode: Generate locale subtag data as multiple smaller tables
This commit is preemptive to upcoming commits which add more subtags to
the CLDR generator. Rather than generating a giant HashMap containing
all data, generate more (smaller) Array-based tables. This mimics the
UCD generator. This also allows simpler lookups at runtime since we can
generate index-based lookups into the smaller tables rather easily.

Without this change, adding the remaining locale subtags would result
in the generation and compilation of UnicodeLocale.cpp taking about 30s
on my machine. With this change, it takes about half that. Additionally,
the size of the generated file reduces by about 1.5MB.
2021-08-27 12:32:24 +01:00
..
CodeGenerators LibUnicode: Generate locale subtag data as multiple smaller tables 2021-08-27 12:32:24 +01:00
CharacterTypes.cpp LibUnicode: Download and parse DerivedNormalizationProps UCD file 2021-08-11 13:11:01 +02:00
CharacterTypes.h LibUnicode: Parse UCD ScriptExtensions.txt and generate property 2021-08-04 13:50:32 +01:00
CMakeLists.txt LibUnicode: Implement grammar validators for Unicode TR-35 2021-08-26 22:04:09 +01:00
Forward.h LibUnicode: Generate locale subtag data as multiple smaller tables 2021-08-27 12:32:24 +01:00
Locale.cpp LibUnicode: Generate locale subtag data as multiple smaller tables 2021-08-27 12:32:24 +01:00
Locale.h LibUnicode: Generate locale subtag data as multiple smaller tables 2021-08-27 12:32:24 +01:00
unicode_data.cmake Meta: Ensure cmake fails if we are unable to unzip the CLDR database 2021-08-26 23:40:23 +02:00