Closed Bug 1248521 Opened 6 years ago Closed 6 years ago
Hash Entry better
PrefHashEntry has sub-optimal field ordering.
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.
You need to log in before you can comment on or make changes to this bug.