Evas textblock: add a stringshare fastpath to markup_set 21/66921/2
authorDaniel Hirt <daniel.hirt@samsung.com>
Sun, 28 Feb 2016 15:49:20 +0000 (17:49 +0200)
committerYoungbok Shin <youngb.shin@samsung.com>
Mon, 25 Apr 2016 04:24:57 +0000 (21:24 -0700)
commit69e9141ae3ee11c6dd7ef552d38f5b513fce3259
tree3a1c146d2b9f31455ace78ec87494d6e7b481d6d
parent21efa01a841ff58f604bd76ffbb84424e61ed49c
Evas textblock: add a stringshare fastpath to markup_set

This optimization makes use of already stringshare'd text and avoids
unnecessary stringshare_add calls in markup_set. It improves the
performance of edje_calc when reapplying text to the textblock part.

Change-Id: I49f36e0404e44b92d3c255d0feeb126e5c4ffb44
src/lib/evas/canvas/evas_object_textblock.c