Obscure C code (was Re: Excessive optimization)
Ethan Dicks
ethan.dicks at gmail.com
Thu Dec 2 17:41:43 CST 2010
On Thu, Dec 2, 2010 at 6:26 PM, <schoedel at kw.igs.net> wrote:
> To keep this slightly on-topic, here's the answer from the 1975 _C Reference
> Manual_, via dmr's home page:
>
> The expression "E1[E2]" is identical (by definition) to "*((E1) + (E2))".
Very concisely put. We're just used to E1 being large and fixed and
E2 being small and variable, but there's no lexical requirement of
such.
-ethan
More information about the cctalk
mailing list