Open Bug 1473342 Opened 6 years ago Updated 2 years ago

Use fused Latin1ness and bidiness checks when creating text nodes

Categories

(Core :: DOM: Core & HTML, enhancement, P3)

enhancement

Tracking

()

ASSIGNED

People

(Reporter: hsivonen, Assigned: hsivonen)

References

Details

(Keywords: perf)

encoding_rs provides fused Latin1ness and bidiness checks that are faster than doing the two checks separately. See https://docs.rs/encoding_rs/0.8.4/encoding_rs/mem/fn.check_utf16_for_latin1_and_bidi.html

Once bug 1402247 has landed, text node creation should move to using the fused checks in the interest of performance.
Priority: -- → P3
Assignee: nobody → hsivonen
Status: NEW → ASSIGNED
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.