On 12/07/2018 22:19, Kris Maglione wrote: > I've actually been thinking on filing a bug to do something similar, to > measure cumulative effects of excess padding in certain types since I > began looking into bug 1460674, and Sylvestre mentioned that > clang-analyzer can generate reports on excess padding.
I've encountered at least one structure where a boolean flag is 64-bits in size on 64-bit builds. If we really want to go to the last mile we might want to also evaluate things like tagged pointers; there's probably some KiB's to be saved there too. There's also more than one place where we're using strings to identify stuff where we could use enums/integers instead. And yeah, my much delayed refactoring of the observer service got a lot higher on my priority list after reading this thread. Gabriele
signature.asc
Description: OpenPGP digital signature
_______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform