Closed
Bug 1438700
Opened 7 years ago
Closed 7 years ago
De-duplicate XPTI string data
Categories
(Core :: XPCOM, enhancement)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla60
Tracking | Status | |
---|---|---|
firefox60 | --- | fixed |
People
(Reporter: mccr8, Assigned: mccr8)
References
Details
(Whiteboard: [MemShrink])
Attachments
(2 files)
It looks like this would be easy to do. I think it would reduce the amount of memory needed by about 35kb.
Assignee | ||
Comment 1•7 years ago
|
||
necko.xpt goes from 42516 bytes to 40100 bytes with this patch.
Assignee | ||
Comment 2•7 years ago
|
||
Oh right, this only reduces disk space, not memory, because we'll reduplicate it as we read it in. It'll still be nice for bug 1438688 though, because then it will reduce both.
No longer blocks: 1438287
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 5•7 years ago
|
||
mozreview-review |
Comment on attachment 8951662 [details]
Bug 1438700, part 1 - Do writing of XPT names to a file via a helper class.
https://reviewboard.mozilla.org/r/220958/#review227286
::: commit-message-d70a4:3
(Diff revision 1)
> +Bug 1438700, part 1 - Do writing of XPT names to a file via a helper class. r=glandium
> +
> +The name of this class is wrong, but my next patch will make it
You /could/ not put Cached in the name in this patch and add it in next.
Attachment #8951662 -
Flags: review?(mh+mozilla) → review+
Comment 6•7 years ago
|
||
mozreview-review |
Comment on attachment 8951663 [details]
Bug 1438700, part 2 - Deduplicate XPT strings.
https://reviewboard.mozilla.org/r/220960/#review227290
Attachment #8951663 -
Flags: review?(mh+mozilla) → review+
Pushed by amccreight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/961d5d58bab7
part 1 - Do writing of XPT names to a file via a helper class. r=glandium
https://hg.mozilla.org/integration/autoland/rev/1f4e9b5602ae
part 2 - Deduplicate XPT strings. r=glandium
Comment 8•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/961d5d58bab7
https://hg.mozilla.org/mozilla-central/rev/1f4e9b5602ae
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox60:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
You need to log in
before you can comment on or make changes to this bug.
Description
•