Avoid traversing a nsTSubstring tuple twice to determine its length and dependency on a buffer
Categories
(Core :: XPCOM, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox79 | --- | fixed |
People
(Reporter: sg, Assigned: sg)
Details
Attachments
(3 files)
In Append
, Assign
, and Replace
called with a substring_tuple_type
argument, the tuple tree is traversed twice to determine the tuple length and whether the tuple depends on the buffer of the target substring. Both properties can be determined in a single go.
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Depends on D78693
Assignee | ||
Comment 3•5 years ago
|
||
Depends on D78694
Comment 5•5 years ago
•
|
||
Backed out for mochitest asan failures.
Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=306743717&repo=autoland
Backout link: https://hg.mozilla.org/integration/autoland/rev/f54f65e5c5b4f0089ebc942ba9552b61e99e1c24
Comment 7•5 years ago
|
||
Relanded this as the failure was actually Bug 1645415. Sorry for the trouble.
Comment 8•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/1e48f3461fa1
https://hg.mozilla.org/mozilla-central/rev/be540a7e5c81
https://hg.mozilla.org/mozilla-central/rev/d5a00352bfba
Updated•5 years ago
|
Description
•