comp.lang.ada
 help / color / mirror / Atom feed
From: Adam Beneschan <adambeneschan@gmail.com>
Subject: Re: Assuming optimization? What is best of these code alternatives?
Date: Thu, 11 Sep 2014 07:49:08 -0700 (PDT)
Date: 2014-09-11T07:49:08-07:00	[thread overview]
Message-ID: <170fc6ce-26bf-4376-b70e-789dabf4f3a0@googlegroups.com> (raw)
In-Reply-To: <0b68f842-b99d-40ce-bada-a66e6dbc4e79@googlegroups.com>

On Thursday, September 11, 2014 7:20:00 AM UTC-7, gautier...@hotmail.com wrote:

> In any case the value i1 + i2 is the initial value for the loop, so even a totally non-optimizing compiler will compute the initial loop value once.

You also missed the outer loop.  Please see my other response.

                                 -- Adam



  reply	other threads:[~2014-09-11 14:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <0868c42e-ed44-4b36-a929-2bffb338ee34@googlegroups.com>
2014-09-11 13:34 ` Assuming optimization? What is best of these code alternatives? J-P. Rosen
2014-09-11 14:48   ` Adam Beneschan
2014-09-12  4:32   ` Per Sandberg
2014-09-11 14:19 ` gautier_niouzes
2014-09-11 14:49   ` Adam Beneschan [this message]
2014-09-11 17:30 ` Jeffrey Carter
2014-09-11 18:12 ` Stefan.Lucks
2014-09-12  6:17 ` anon
2014-09-12  8:06   ` reinkor
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox