forked from enlightenment/efl
7a4e904566
eina value is a generic value storage, it's quite efficient to space (16 bytes) and speed (inlines for basic types). It's basically a structure describing how to manage memory (Eina_Value_Type), with default implementation for char, short, int, long, int64_t (and unsigned variants), float, double, stringshare and string. If a type 'value_size' is smaller than 8 bytes, it's stored inline. Otherwise a value is allocated and managed. Most of the methods are inline, with special handling for char, short, int... Then no extra calls are made, allowing the compiler to optimize them. For array of a single type it is recommend to use Eina_Value_Array, as it will efficiently store and access members (just a char if subtype is EINA_VALUE_TYPE_CHAR, etc). It can copy itself, compare itself. Including arrays. It would be nice to have something that converts between EET and this. SVN revision: 67035 |
||
---|---|---|
.. | ||
examples | ||
include | ||
lib | ||
modules | ||
tests | ||
Makefile.am |