efl/legacy/evas/src
Gustavo Sverzut Barbieri 27437c83cf Make layer number a short and Save 8 bytes.
By having a layer as a short (16 bits) we can pack it together with
the bitfields, saving 4 bytes per sub-struct, 8 bytes in total, also
bringing the struct down from 4 to 3 cachelines on my laptop.

Rationale: layers are mostly used to differentiate groups of objects
and they stacking, usually we have few layers and we use very large or
very small numbers to make a layer be at the top or at the bottom, but
usually we don't need so many layers.

Caution: code that use values like 999999 will break, so fix your
code! I'll provide another patch to fix all the CVS using these large
values.


SVN revision: 34420
2008-05-01 06:18:21 +00:00
..
lib Make layer number a short and Save 8 bytes. 2008-05-01 06:18:21 +00:00
modules endif++! 2008-04-30 07:24:10 +00:00
.cvsignore Hushhhh 2004-01-16 21:11:41 +00:00
Makefile.am remove test progs and data 2006-10-28 07:04:17 +00:00