Xref: utzoo comp.lang.c:11077 comp.lang.fortran:865 Path: utzoo!attcan!uunet!husc6!mailrus!cornell!uw-beaver!teknowledge-vaxc!sri-unix!garth!smryan From: smryan@garth.UUCP (Steven Ryan) Newsgroups: comp.lang.c,comp.lang.fortran Subject: Re: += in C Message-ID: <851@garth.UUCP> Date: 1 Jul 88 20:20:55 GMT References: <2314@ncr-sd.SanDiego.NCR.COM> Reply-To: smryan@garth.UUCP (Steven Ryan) Organization: INTERGRAPH (APD) -- Palo Alto, CA Lines: 6 >In the second case the address a[i][j] is computed only once and reused. >This is faster both at compilation and execution times. > >An optimizer would convert the first to the second. Assuming none are *volatile*.