On Tue, 10 Jan 2012 18:20:26 -0800 "Enlightenment SVN" <[email protected]> wrote:
> Log: > add eina_value. > > 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. > > > > Author: barbieri > Date: 2012-01-10 18:20:26 -0800 (Tue, 10 Jan 2012) > New Revision: 67035 > Trac: http://trac.enlightenment.org/e/changeset/67035 > > Added: > trunk/eina/src/include/eina_inline_value.x > trunk/eina/src/include/eina_value.h trunk/eina/src/tests/eina_test_value.c > Modified: trunk/eina/ChangeLog trunk/eina/NEWS trunk/eina/src/include/Eina.h > trunk/eina/src/include/Makefile.am trunk/eina/src/include/eina_inarray.h > trunk/eina/src/lib/eina_inarray.c trunk/eina/src/lib/eina_main.c > trunk/eina/src/lib/eina_value.c trunk/eina/src/tests/Makefile.am > trunk/eina/src/tests/eina_suite.c trunk/eina/src/tests/eina_suite.h this commit breaks the universe for c++. please fix it. ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
