From: Bluezery <ohpowel@gmail.com>
authorBluezery <ohpowel@gmail.com>
Sat, 13 Oct 2012 04:23:43 +0000 (04:23 +0000)
committerCarsten Haitzler <raster@rasterman.com>
Sat, 13 Oct 2012 04:23:43 +0000 (04:23 +0000)
commitedc6af9ed7e54457f606bb38b03896a255aabde0
treeefa67f8a2607d35bdfe9163691fe9b7ea97b46b6
parent1d74b4615faf4afb1334fe65a832e4796a2b1f42
From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel] [E-Devel][Patch][Elementary]Genlist - Edje Item
Cache Refactoring

This is patch for reconstructing genlist's item cache.
Each item cache functions do harsh jobs so just push,pop by
Elm_Gen_Item * now.
Before, cache is disabled by comments. But I enabled item cache again
(even for the case which tree_effect_enabled is on).

I changed some functions:
_item_cache_find() --> _item_cache_pop()
_item_cache_add() --> _item_cache_push()
_item_cache_zero() -->_item_cache_all_free()

And I removed _item_cache_clean() function because I made
_item_cache_push() to don't exceed the item_cache_max. So clean-up of
cache is not needed anymore.

SVN revision: 77944
src/lib/elm_genlist.c