Closed Bug 1707984 Opened 3 years ago Closed 3 years ago

Optimize FormattedNumberToParts implementation

Categories

(Core :: JavaScript: Internationalization API, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
91 Branch
Tracking Status
firefox91 --- fixed

People

(Reporter: dminor, Assigned: anba)

Details

Attachments

(1 file)

When Bug 1701695 lands, we'll know how long the final array in FormattedNumberToParts will be, which will make it possible to optimize this function.

Severity: -- → N/A
Priority: -- → P3
Assignee: nobody → andrebargull
Status: NEW → ASSIGNED
Pushed by andre.bargull@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/cb62693a2360
Directly create result arrays with the correct length. r=dminor
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: