efl/legacy/evas/src/lib
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
..
cache Fix a bug caused by duplicated entry in the activ and dirty cache list. 2008-04-17 15:30:03 +00:00
canvas Make layer number a short and Save 8 bytes. 2008-05-01 06:18:21 +00:00
data Add const: evas_hash.c 2008-02-08 19:55:03 +00:00
engines Autotools cleaning (not complete) 2008-04-23 06:55:10 +00:00
file Autotools cleaning (not complete) 2008-04-23 06:55:10 +00:00
imaging cedric's cache changes patch 2008-04-12 00:32:30 +00:00
include Make layer number a short and Save 8 bytes. 2008-05-01 06:18:21 +00:00
.cvsignore Hushhhh 2004-01-16 21:11:41 +00:00
Evas.h Make layer number a short and Save 8 bytes. 2008-05-01 06:18:21 +00:00
Makefile.am Autotools cleaning (not complete) 2008-04-23 06:55:10 +00:00
main.c * Remove Windows code in evas_module.c and use evilness instead 2008-03-14 16:49:49 +00:00