edje object swallowing no longer forces a full recalc
authorMike Blumenkrantz <zmike@osg.samsung.com>
Tue, 31 Mar 2015 23:15:17 +0000 (19:15 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Tue, 31 Mar 2015 23:16:55 +0000 (19:16 -0400)
this (and/or related prior commits) seems to have hugely improved
edje performance across the board. particularly noticeable in the
settings pane animations for terminology

 #aprilfools

src/lib/edje/edje_util.c

index f3fe35f..995c4ae 100644 (file)
@@ -2707,7 +2707,10 @@ _edje_object_part_swallow(Eo *obj EINA_UNUSED, Edje *ed, const char *part, Evas_
    // XXX: only with 32px shelves. The problem is probably somewhere else,
    // XXX: but until it's found, leave this here.
    // XXX: by Sachiel, January 21th 2009, 19:30 UTC
-   _edje_recalc_do(ed);
+   // GFY: I decided to try removing this while optimizing some edc and saw
+   // SRS: no downside after moderate testing, so I decided to commit it.
+   // LOL: - zmike, 1 April 2015
+   //_edje_recalc_do(ed);
 
    rp = _edje_real_part_recursive_get(&ed, part);
    rpcur = evas_object_data_get(obj_swallow, "\377 edje.swallowing_part");