efl_ui_win: optimize shutdown
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Mon, 15 Jul 2019 20:06:06 +0000 (22:06 +0200)
committerSangHyeon Jade Lee <sh10233.lee@samsung.com>
Tue, 23 Jul 2019 05:02:34 +0000 (14:02 +0900)
commit0fd3c78527f472567479a71b9281d259ea2bf0f3
tree629997a94d7a75ddd59f48f84f01f997c2d3c672
parent382b1d18c1e4ddb23a33d6cdfd35887442fb1524
efl_ui_win: optimize shutdown

in case we are having a scroller with a lot of elements on it, we are
spending a lot of time in stuff like recalculating clips, even if they
will never be used again.

With this freeze here, we are saving 9s shutdown time in item_container.
Which brings the overall closing time from 10s down to 1s, which is a
win IMO.

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D9325
src/lib/elementary/efl_ui_win.c