eina: implement a memory cache for Eina_Rbtree_Iterator.
authorCedric Bail <cedric@osg.samsung.com>
Fri, 22 Apr 2016 17:58:25 +0000 (10:58 -0700)
committerCedric Bail <cedric@osg.samsung.com>
Fri, 22 Apr 2016 17:58:25 +0000 (10:58 -0700)
commitb4456121be0c964a88451e20a42fea2059a61a21
treec6aab635db18b582e8dcdda06ca90b43e3221049
parent7da4d8a4ae40354b5922f9c08e7b8aebd4ae2edb
eina: implement a memory cache for Eina_Rbtree_Iterator.

So it seems we are using Eina_Hash_Iterator quite a lot more than before.
This lead to a huge amount of alloc/free of Eina_Rbtree_Iterator that
was noticable in Enlightenment callgrind trace. This patch make it vanish
from the trace :-)
src/lib/eina/eina_main.c
src/lib/eina/eina_rbtree.c