You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6395cfa
Browse filesBrowse the repository at this point in the historyBrowse files
`Names/index.mjs` stored every character name as a JSON string inside
the run-length array shared with the other property maps. Names are
sorted by code point and neighbouring names share long prefixes (e.g.
`LATIN SMALL LETTER A WITH …`), so the table is now written as text: a
first line with the `[gap, length]` run pairs as JSON, followed by one
front-coded name per line (a base64 digit for the number of characters
shared with the previous name, then the remainder). The new
`decode-names.mjs` rebuilds the same `Map<number, string>`, with the
same entries in the same order; this was verified against all 35
versions, and a new test checks representative lookups.
For Unicode 18.0.0 `Names/index.mjs` shrinks from 158 KB to 123 KB, and
the package from 410 KB to 390 KB packed (1.43 MB to 1.39 MB unpacked).
Assisted-By: Claude Fable 5.1
Issue: #109
0 commit comments