[cairo] Tessellator performance patch

Behdad Esfahbod behdad at behdad.org
Tue Dec 5 12:41:45 PST 2006


On Mon, 2006-12-04 at 19:35 -0500, Rafael Villar Burke wrote:
> 
> +    cairo_bool_t proper_intersection = (!(crossp_abc > 0) ^ 
> !(crossp_abd > 0)) &&
> +        (!(crossp_cda > 0) ^ !(crossp_cdb > 0)); 

Nitpicking:  Isn't !x ^ !y equivalent to x ^ y?

-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759





More information about the cairo mailing list