more efficient model properties based on struct.
authorbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 24 Jan 2012 22:17:57 +0000 (22:17 +0000)
committerbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 24 Jan 2012 22:17:57 +0000 (22:17 +0000)
commitc775baa1948a0581e1501c95ae26caf45ec8aa98
treedbca283d7960302e591a3c4f123f40faf58f267b
parente20bc39a1902be67fce915ae2ac992beae74bcbf
more efficient model properties based on struct.

this is a killer, should be very efficient in memory and speed to
set/get items: instead of a hash of properties, keep them in a C
struct!

The constraint is that properties have fixed types defined at compile
time and cannot be deleted, but this is expected in many cases (ie:
esql rows).

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@67517 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/include/eina_model.h
src/lib/eina_model.c
src/tests/eina_test_model.c