pwc
[Top] [All Lists]

Re: [pwc] Re: pwc Digest, Vol 7, Issue 1

To: Micah Villmow <>, Philips Webcam Linux Driver <>
Subject: Re: [pwc] Re: pwc Digest, Vol 7, Issue 1
From: Hamed Ahmadi Nejad <>
Date: Sat, 2 Jul 2005 05:12:02 +0330
On 7/1/05, Micah Villmow <> wrote:
> To further optimize the division in this line:
>
> > >                 pout_planar_u = dst + n;
> > >                 pout_planar_v = dst + n + n / 4;
>
> wouldn't it be better to get rid of the division and use n >>  2 instead?

You don't need to worry about that; the compiler's optimizer does it
for you automatically.
_______________________________________________
pwc mailing list

http://lists.saillard.org/mailman/listinfo/pwc

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU