add eina_inarray.
authorbarbieri <barbieri>
Mon, 9 Jan 2012 23:24:18 +0000 (23:24 +0000)
committerbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 9 Jan 2012 23:24:18 +0000 (23:24 +0000)
commit230c142ce188d5f73f7abdc25f971f7709f272fb
tree3f7088bfaafb58da8adc911564503c43939edbb6
parent3d7d3172b6ab386a7a5dd1694b01629263092f9a
add eina_inarray.

It is an inline array, that is, the members are actually in the
allocated buffer, as opposed to a pointer to its data.

It can be used to manage array of integers, floats or other structures
without fragmenting memory.

The lookups should be fast as memory is linear, then CPU prefetch can
kick in and bring data to cache before it's used.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@67003 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
13 files changed:
ChangeLog
NEWS
src/include/Eina.h
src/include/Makefile.am
src/include/eina_inarray.h [new file with mode: 0644]
src/lib/Makefile.am
src/lib/eina_inarray.c [new file with mode: 0644]
src/lib/eina_main.c
src/lib/eina_private.h
src/tests/Makefile.am
src/tests/eina_suite.c
src/tests/eina_suite.h
src/tests/eina_test_inarray.c [new file with mode: 0644]