summaryrefslogtreecommitdiff
path: root/src/lib/ecore_con
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2013-04-28 00:43:23 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2013-04-28 00:43:53 +0200
commit994318eebe032447f9457a77fe446b5978480cd7 (patch)
tree6472eec0133ff0e4beb37d9e12d638ee0cd0b6fa /src/lib/ecore_con
parent41dc1764f342691916b7015fb40036b883d7bcc5 (diff)
eo_ptr_ind: pack ptr, active flag and generation all together
use of an array of the below struct instead of 3 separate arrays leads to better cache performance and smaller memory usage typedef struct { _Eo *ptr; unsigned int active : 1; unsigned int generation : BITS_FOR_GENERATION_COUNTER; } _Eo_Id_Entry;
Diffstat (limited to 'src/lib/ecore_con')
0 files changed, 0 insertions, 0 deletions