Closed
Bug 1631391
Opened 5 years ago
Closed 4 years ago
Optimize implementation of nsTArray_Impl::ReplaceElementAt(index_type aIndex, const Item& aItem)
Categories
(Core :: XPCOM, task)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla77
Tracking | Status | |
---|---|---|
firefox77 | --- | fixed |
People
(Reporter: sg, Assigned: sg)
References
Details
Attachments
(1 file)
Currently, nsTArray_Impl::ReplaceElementAt(index_type aIndex, const Item& aItem)
is implemented using ReplaceElementsAt
, which might not take advantage of the fact that it is known at compile time that the oldCount and newCount are the same (and 1).
Assignee | ||
Comment 1•5 years ago
|
||
Depends on D71721
Updated•5 years ago
|
Assignee: nobody → sgiesecke
Status: NEW → ASSIGNED
Pushed by sgiesecke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5ce3af9d7f6e
Simplify implementation of ReplaceElementAt. r=xpcom-reviewers,nika
Comment 3•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox77:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in
before you can comment on or make changes to this bug.
Description
•