edje: Reduce duplicated item obj creations and deletions.
authorYoungbok Shin <youngb.shin@samsung.com>
Tue, 12 Jan 2016 13:20:19 +0000 (13:20 +0000)
committerTom Hacohen <tom@stosb.com>
Tue, 2 Feb 2016 10:22:09 +0000 (10:22 +0000)
commit6b12ae1e03e93a10b0120aa15d1ff40b022ec189
tree38c91297500d404de1d57e1ef0e3cb4953866cd3
parenta4785c66c38a5d36b5f93ab79faacc677cb21cef
edje: Reduce duplicated item obj creations and deletions.

Summary:
When text is changed, all of objects for item tag are deleted
and recreated. It is unnecessary work and can cause performance
issues. Actually, many of application developers wonder why
item provider callback functions are called every text changes.
@fix

Test Plan:
Run elementary_test -to "entry emoticon"
When you make a very little change on text,
36 emoticon objects are recreated.

Reviewers: woohyun, jaehwan, herdsman, tasn

Reviewed By: tasn

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D3537
src/lib/edje/edje_entry.c