diff options
author | Timothy Flynn <trflynn89@pm.me> | 2021-12-11 00:37:34 -0500 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-12-11 14:17:47 +0000 |
commit | 2a7f36b392479dbb41bb3fac6512c9b176c175ec (patch) | |
tree | 913af8f7fafd1fbaa9948af8e925432772fa59c6 /Userland/Libraries/LibDiff/Hunks.cpp | |
parent | 9cc323b0b0434e5e480b97fb53dff82639b37570 (diff) | |
download | serenity-2a7f36b392479dbb41bb3fac6512c9b176c175ec.zip |
LibJS+LibUnicode: Generate unique numeric symbol lists
There are 443 number system objects generated, each of which held an
array of number system symbols. Of those 443 arrays, only 39 are unique.
To uniquely store these, this change moves the generated NumericSymbol
enumeration to the public LibUnicode/NumberFormat.h header with a pre-
defined set of symbols that we need. This is to ensure the generated,
unique arrays are created in a known order with known symbols. While it
is unfortunate to no longer discover these symbols at generation time,
it does allow us to ignore unwanted symbols and perform less string-to-
enumeration conversions at lookup time.
Diffstat (limited to 'Userland/Libraries/LibDiff/Hunks.cpp')
0 files changed, 0 insertions, 0 deletions