Switch to the newer ICU normalizer API for js string normalization #1999

Closed
opened 9 months ago by Moonchild · 0 comments
Owner

It's unsure why Mozilla chose to use the old and deprecated unorm API when ICU has had unorm2 since 4.4 -- way before js string normalization was a thing in ES6.

This throws deprecation warnings when compiling, and is likely slower than the new API.

I don't think this is a particularly complex changeover but will require a bit of work since unorm2 is an instanced API instead of static.

It's unsure why Mozilla chose to use the old and deprecated `unorm` API when ICU has had `unorm2` since 4.4 -- way before js string normalization was a thing in ES6. This throws deprecation warnings when compiling, and is likely slower than the new API. I don't think this is a particularly complex changeover but will require a bit of work since `unorm2` is an instanced API instead of static.
Moonchild added this to the 31.3.0 milestone 9 months ago
Moonchild added the
Javascript
Performance
labels 9 months ago
Moonchild self-assigned this 9 months ago
Moonchild closed this issue 9 months ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Blocks
Reference: MoonchildProductions/UXP#1999
Loading…
There is no content yet.