Closed Bug 1438700 Opened 7 years ago Closed 7 years ago

De-duplicate XPTI string data

Categories

(Core :: XPCOM, enhancement)

enhancement
Not set
normal

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.
necko.xpt goes from 42516 bytes to 40100 bytes with this patch.
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
Blocks: 1438688
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+
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
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: