[cairo] [PATCH 04/43] core: fix compiler warnings

Chris Wilson chris at chris-wilson.co.uk
Wed Dec 16 04:39:33 PST 2015


On Wed, Dec 16, 2015 at 01:28:28PM +0100, Enrico Weigelt, metux IT consult wrote:
> On 16.12.2015 12:14, Chris Wilson wrote:
> 
> > In a function that will be called millions of times, it is one of the
> > hottest functions for cairo-xlib.
> 
> Okay, I wasn't aware of that.
> 
> In that case, that flag field, as well as the other local variables,
> might be suboptimal.
> 
> How about that way ?

All you have to do is run it through callgrind and perf (numbers talk)...
I can look at it later hopefully.

Thanks,
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the cairo mailing list