[cairo] Re: Mark cairo_fixed_t conversion functions with attribute(const)

Ross Burton ross at burtonini.com
Wed Mar 21 11:12:04 PDT 2007

On Wed, 2007-03-21 at 17:51 +0000, Chris Wilson wrote:
> The cairo_fixed_t conversion functions look apt for the const attribute
> as they only operate on their parameters and do not touch memory. They
> also look suitable for inlining should anyone have any profile data
> suggesting it would be a win...

You're producing some really interesting looking patches, but I don't
see any proof that there are performance improvements.  I believe there
are, but I like to see hard numbers!  Can you run cairo-perf-diff?

Ross Burton                                 mail: ross at burtonini.com
                                          jabber: ross at burtonini.com
                                     www: http://www.burtonini.com./
 PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF

More information about the cairo mailing list