On 26/08/16 11:21, David Seikel wrote: > On Fri, 26 Aug 2016 10:46:48 +0100 Tom Hacohen <t...@osg.samsung.com> > wrote: > >> a shitload of times. If I remember correctly, _efl_object_call_end is >> one line: _eo_unref(obj). And that one is essentially if >> (--(obj->ref) == 0) and then just returns in 99.99% of the cases. Not >> a lot to optimise there. :) > > Make it a macro, done, it's optimised. B-)
It's inlined. IIRC I checked, and the CPU usage in _efl_object_call_end is almost only in the function invocation itself! -- Tom ------------------------------------------------------------------------------ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel