devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=68390035109514dfb5ca04a51a0271e9fc047991

commit 68390035109514dfb5ca04a51a0271e9fc047991
Author: Mike Blumenkrantz <[email protected]>
Date:   Mon Jun 25 15:11:00 2018 -0400

    edje: remove recalc during part_recursive_get
    
    Summary:
    this adds perf overhead in order to work around a bug in text_get
    
    all part objects are instantiated during edje_object_file_set, and forcing
    a recalc here does nothing more than perform unnecessary operations
    
    ref 8f95b17f39cb87cb4627150b0761fc95376bd026
    ref D6365
    
    Reviewers: herdsman, devilhorns
    
    Reviewed By: devilhorns
    
    Subscribers: cedric, #committers
    
    Tags: #efl
    
    Differential Revision: https://phab.enlightenment.org/D6422
---
 src/lib/edje/edje_util.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/lib/edje/edje_util.c b/src/lib/edje/edje_util.c
index 2de6354a6c..7ab54bb4bd 100644
--- a/src/lib/edje/edje_util.c
+++ b/src/lib/edje/edje_util.c
@@ -5218,8 +5218,6 @@ _edje_real_part_recursive_get(Edje **ed, const char *part)
    path = eina_str_split(part, EDJE_PART_PATH_SEPARATOR_STRING, 0);
    if (!path) return NULL;
 
-   _edje_recalc_do(*ed);
-
    rp = _edje_real_part_recursive_get_helper(ed, path);
 
    free(*path);

-- 


Reply via email to