Re: PATCH: gdk_rectangle_intersect simplification



Peter Osterlund <peter.osterlund@mailbox.swipnet.se> writes:

> Peter Osterlund <peter.osterlund@mailbox.swipnet.se> writes:
> 
> > Here is a small patch to simplify the gdk_rectangle_intersect function.
> > The new implementation is analogous to the gdk_rectangle_union function,
> > which is much simpler than a lot of if statements.
> 
> Since I got no response to my previous message, here is some more
> information.
> 
> * The patch makes the source code smaller and easier to understand.
> * The patch makes the object code smaller and faster, especially for
>   PPro/PII/PIII CPUs with conditional move instructions.
> * You are free to use the patch as you see fit.
> * It is obviously correct.
> * I have used it for about three weeks on my computer without
>   problems.
> 
> What else is required to get the patch installed?

I've applied the patch now. 

Thanks,
                                        Owen




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]