PrefHashEntry has sub-optimal field ordering.
Created attachment 8719653 [details] [diff] [review] Pack PrefHashEntry better This reduces sizeof(PrefHashEntry) from 40 bytes to 32 bytes on 64-bit platforms, which reduces the entry storage of |gHashTable| from 160 KiB to 128 KiB in every process.
Attachment #8719653 - Flags: review?(nfroyd)
Attachment #8719653 - Flags: review?(nfroyd) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/f9f9d3a5a3304e9ba4b524a7bd9185c346fdea91 Bug 1248521 - Pack PrefHashEntry better. r=froydnj.
Status: ASSIGNED → RESOLVED
Last Resolved: 3 years ago
status-firefox47: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in before you can comment on or make changes to this bug.