Closed
Bug 1675639
Opened 4 years ago
Closed 4 years ago
Try to save some memory in the custom properties code.
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
84 Branch
Tracking | Status | |
---|---|---|
firefox84 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
Pages that use custom properties a lot may have a lot of these maps, but they're usually immutable, so we can try saving some memory here pretty easily.
This may help with bug 1656851.
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
New versions have shrink_to_fit().
Depends on D96130
Assignee | ||
Comment 3•4 years ago
|
||
Depends on D96131
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3d38566d80c6 Don't waste string space before making values immutable. r=boris https://hg.mozilla.org/integration/autoland/rev/270207ea42c1 Update indexmap. r=boris https://hg.mozilla.org/integration/autoland/rev/9a7b394ca845 Shrink custom property maps before making them immutable. r=boris
Comment 5•4 years ago
|
||
Backed out for Bpgo bustages
Backout link: https://hg.mozilla.org/integration/autoland/rev/81a3ef82469bf0bfd2e85086f3dfa3f91724f323
Log link: https://treeherder.mozilla.org/logviewer?job_id=320908175&repo=autoland&lineNumber=15522
Flags: needinfo?(emilio)
Updated•4 years ago
|
Attachment #9186134 -
Attachment description: Bug 1675639 - Update indexmap. r=#style → Bug 1675639 - Update indexmap. r=boris
Assignee | ||
Updated•4 years ago
|
Flags: needinfo?(emilio)
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7ca763fe7152 Don't waste string space before making values immutable. r=boris https://hg.mozilla.org/integration/autoland/rev/747cee56ec57 Update indexmap. r=boris https://hg.mozilla.org/integration/autoland/rev/a933cf128e64 Shrink custom property maps before making them immutable. r=boris
Comment 7•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7ca763fe7152
https://hg.mozilla.org/mozilla-central/rev/747cee56ec57
https://hg.mozilla.org/mozilla-central/rev/a933cf128e64
Status: NEW → RESOLVED
Closed: 4 years ago
status-firefox84:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•