Closed
Bug 2086990
Opened 29 days ago
Closed 28 days ago
Avoid creating intermediary arrays when dealing with Iterators
Categories
(DevTools :: General, task, P3)
DevTools
General
Tracking
(firefox161 fixed)
RESOLVED
FIXED
161 Branch
| Tracking | Status | |
|---|---|---|
| firefox161 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
(Blocks 1 open bug)
Details
Attachments
(1 external file)
Iterator got new functions in the recent years (concat, filter, find, every, some, …), which means we can refactor some of our code where we use to create intermediary arrays to call such functions (e.g. [...this.activeTabs.keys()].some)
| Assignee | ||
Comment 1•29 days ago
|
||
Updated•29 days ago
|
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/df577922b455
https://hg.mozilla.org/integration/autoland/rev/958815ad0a42
[devtools] Avoid creating intermediary array objects when dealing with Iterators. r=devtools-reviewers,ochameau.
Comment 3•28 days ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 28 days ago
status-firefox161:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 161 Branch
Updated•18 days ago
|
QA Whiteboard: [qa-triage-done-c162/b161]
You need to log in
before you can comment on or make changes to this bug.
Description
•