From: "Matthew Bevan" <[EMAIL PROTECTED]>

>In theory, they should be optimized by the compiler into the same thing.

I don't think this is an optimization. The C language defines x[a] as *(x +
a). Other things being equal, if a compiler generates different code for
each, I'd call that a bug.

I'd be interested in Ben and John's comments.


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

Reply via email to