raster pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=5cba6a585715198c35488b2e664b5ad554c14b80
commit 5cba6a585715198c35488b2e664b5ad554c14b80 Author: Godly T.Alias <godlytal...@yahoo.co.in> Date: Thu Apr 13 16:40:28 2017 +0900 Genlist: Performance optimization for genlist in non-filter cases Summary: When _item_filtered_get is called, block and pan re-calculations happen, When there is no filter applied, we can skip item filtering to avoid some unwanted calculations Reviewers: cedric, raster, SanghyeonLee Reviewed By: raster Subscribers: rajeshps, Princekrdubey, cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4759 --- src/lib/elementary/elm_genlist.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/elementary/elm_genlist.c b/src/lib/elementary/elm_genlist.c index 6c36251..360bbcb 100644 --- a/src/lib/elementary/elm_genlist.c +++ b/src/lib/elementary/elm_genlist.c @@ -2320,7 +2320,8 @@ _item_block_position(Item_Block *itb, const int blk_idx) sd = it->item->wsd; if (sd->reorder_it == it) continue; - if (!it->filtered) _item_filtered_get(it); + if (!it->filtered && sd->filter_data && it->itc->func.filter_get) + _item_filtered_get(it); if (it->hide) { if (it->realized) evas_object_hide(VIEW(it)); --