Page MenuHomePhabricator

efl_ui_widget: performance optimize deletion
ClosedPublic

Authored by bu5hm4n on Jul 15 2019, 1:09 PM.

Details

Summary

when a logic parent does not have any widgets left, the parent needs to
be reevaluated. However, this only has to happen when there is a change
in state (eg. from 0 -> N or from N -> 0). Every other call can be
safed. This commit introduces this checking, and safes up performance.

Diff Detail

Repository
rEFL core/efl
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
bu5hm4n created this revision.Jul 15 2019, 1:09 PM
cedric accepted this revision.Jul 17 2019, 9:24 AM
This revision is now accepted and ready to land.Jul 17 2019, 9:24 AM
Closed by commit rEFLe76349cd41d9: efl_ui_widget: performance optimize deletion (authored by Marcel Hollerbach <mail@marcel-hollerbach.de>, committed by cedric). · Explain WhyJul 17 2019, 10:17 AM
This revision was automatically updated to reflect the committed changes.