Page MenuHomePhabricator

evas: Defer object lookup until it's necessary
ClosedPublic

Authored by ManMower on Jan 24 2019, 12:06 PM.

Details

Summary

We frequently BAIL from this function before we actually need the
efl_data_scope_get() return, so we can save some pointer indirection by
deferring.

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.
ManMower created this revision.Jan 24 2019, 12:06 PM

It seems that this patch has no reviewers specified. If you are unsure who can review your patch, please check this wiki page and see if anyone can be added: https://phab.enlightenment.org/w/maintainers_reviewers/

ManMower requested review of this revision.Jan 24 2019, 12:06 PM
cedric accepted this revision.Jan 24 2019, 12:11 PM

Neat.

This revision is now accepted and ready to land.Jan 24 2019, 12:11 PM
This revision was automatically updated to reflect the committed changes.