[PATCH 4/7] dix: Repack ClientRec
keithp at keithp.com
Sat Sep 22 00:07:56 PDT 2012
Adam Jackson <ajax at redhat.com> writes:
> Pick smaller types where possible, including bitfielding some Bools and
> small enums, then shuffle the result to be hole-free. 192 -> 128 bytes
> on LP64, 144 -> 96 bytes on ILP32.
One thing that would make this easier to check for 'optimal' packing
would be to simply start with the largest sized objects and work down to
the smallest ones. Otherwise, I'm sitting here counting bits. Or would
that be less efficient at run time?
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 827 bytes
Desc: not available
More information about the xorg-devel