comp.lang.ada
 help / color / mirror / Atom feed
From: Hyman Rosen <hyrosen@mail.com>
Subject: Re: Speeding up Ada procedure?
Date: Thu, 27 Feb 2003 00:30:12 GMT
Date: 2003-02-27T00:30:12+00:00	[thread overview]
Message-ID: <o_c7a.10796$ES3.4284@nwrddc04.gnilink.net> (raw)
In-Reply-To: <1d13e1b4.0302261526.40058154@posting.google.com>

Papandopulo wrote:
> it can become deadly if massive arrays of data are being processed

That depends a lot on your pattern of usage.

In many cases, the compiler can eliminate checks by "proving" to itself
that they can never fail. Or it may hoist checks outside loops.

I would suggest that you ignore your intuition, and only try to fix
things once you have measured and know for a fact that the index checks
are a problem.




  reply	other threads:[~2003-02-27  0:30 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-26 23:26 Speeding up Ada procedure? Papandopulo
2003-02-27  0:30 ` Hyman Rosen [this message]
2003-02-27  0:39 ` tmoran
2003-02-27  3:22 ` Steve
2003-02-27  8:38 ` Gautier
2003-02-27  8:48   ` Duncan Sands
2003-02-27  8:54 ` Jean-Pierre Rosen
2003-02-27 15:45 ` Mark Johnson
2003-02-27 22:57   ` John R. Strohm
2003-02-28 14:33     ` Mark Johnson
2003-02-27 18:43 ` Alfred Hilscher
2003-02-27 22:55 ` John R. Strohm
replies disabled

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