Mailing List Archive


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

Re: [tlug] Getting back into C programming



On 06/12/06, Stephen J. Turnbull <stephen@example.com> wrote:

Josh Glover writes:

 > Your function is exactly equivalent to:

The calculation is, but the compilation may not be.  IIRC, some
compilers are able to optimize the reference but not the pointer
arithmetic if the function is inlined.

Interesting. I assume g++ deals well with this case; do you know? I may have to run some tests.

-Josh


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links