Closed
Bug 1561573
Opened 6 years ago
Closed 6 years ago
Avoid linearization and inflation to UTF-16 of the string input to TextEncoder
Categories
(Core :: Internationalization, enhancement, P3)
Core
Internationalization
Tracking
()
RESOLVED
FIXED
mozilla71
| Tracking | Status | |
|---|---|---|
| firefox71 | --- | fixed |
People
(Reporter: hsivonen, Assigned: hsivonen)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
To optimize string passing from JS to Wasm, avoid having the WebIDL layer linearize the input string and inflate it to UTF-16.
| Assignee | ||
Updated•6 years ago
|
Type: defect → enhancement
Updated•6 years ago
|
Priority: -- → P3
| Assignee | ||
Comment 1•6 years ago
|
||
| Assignee | ||
Comment 2•6 years ago
|
||
Updated•6 years ago
|
Attachment #9089319 -
Attachment is obsolete: true
| Assignee | ||
Comment 3•6 years ago
|
||
Performance-wise this seems like a clear win. The performance depends on the input, of course. While I can construct input that regresses performance by low single-digit percentages, when ASCII rope segments are involved, the improvements go into good double-digit percentages and the perf over doubles in the best case.
Pushed by hsivonen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c7d88625df86
Avoid linearization and inflation to UTF-16 of the string input to TextEncoder. r=jandem,bzbarsky
Comment 5•6 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox71:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in
before you can comment on or make changes to this bug.
Description
•