----- Original Message -----
From: "Matthew Bevan" <[EMAIL PROTECTED]>


> >    paletteTemp[0] = *(paletteGet+0);
>  paletteTemp[0] = paletteGet[0];

> From experience the top-most is faster.  Dereferencing something using
var[n]
> makes the compiler add different steps than *(var+n).

In C, these are exactly the same. Anywhere you can use one, you can use the
other. So I'd be quite surprised if they generated different code.

Are you seeing this with the MW compiler?


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to