eo: evalulate special counts earlier
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Fri, 31 Jul 2020 08:50:04 +0000 (10:50 +0200)
committerJongmin Lee <jm105.lee@samsung.com>
Thu, 6 Aug 2020 21:29:09 +0000 (06:29 +0900)
commit2f05c219ae4d2b4c7e5b807f584331fe65c30127
tree17fd6aa6aa345e4c72ce7afe1adeb52e56a673f7
parent26f7d695afda319f4681e4f3729fc0ef51fe9fb5
eo: evalulate special counts earlier

we have these special counts which are > 0 when there is a callback
subscribed. THey are currently evalulated in _callback_call. However,
we can also skip the entire call from inside eo_base_class as we are
having the fields there as well.

This way we are skipping the obj pointer lookup and vtable lookup.

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D12079
src/lib/eo/eo_base_class.c