Re: Wasted bytes due to padding (bug 492185)

2014-02-20 Thread arpad . borsos
> What do the fractions mean? Those are from bitfields. clang also reports those as "padding struct X with Y *bits*..." ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: Wasted bytes due to padding (bug 492185)

2014-02-20 Thread arpad . borsos
> Also, a question. These are 64-bit numbers, right? Yes. Also please take these numbers with a grain of salt. I simply sum up what clang gives as warnings. For example, I have no idea how it handles unions. And yes, allocation counts would be awesome. Any idea how to get to those? Or even be