From: gautier_niouzes@hotmail.com (Gautier)
Subject: Re: Speeding up Ada procedure?
Date: 27 Feb 2003 00:38:51 -0800
Date: 2003-02-27T08:38:52+00:00 [thread overview]
Message-ID: <17cd177c.0302270038.440cde5@posting.google.com> (raw)
In-Reply-To: 1d13e1b4.0302261526.40058154@posting.google.com
Papandopulo:
> I have certain procedures dealing with
> large arrays which are potential performance
> bottlenecks. While they didn't cause
> performance problems yet I intuitively
> feel they will.
>
> Is it a way to remove runtime array
> bounds and other checks for particular
> procedure ?
There are pragmata suppress (standard) and it
is meaningful to apply them. What I do for
number-crunching with big matrices is
to compile the whole with two different option sets
1/ a "debug" without suppressing anything, no optimization
and eventual compiler-dependent extra checks
2/ a "compute" one with suppress_all, plus all optimization
goodies provided by the compiler, including loop-unrolling
You can always add a few before-calculation explicit
checks to verify data consistency, e.g.
________________________________________________________
Gautier -- http://www.mysunrise.ch/users/gdm/gsoft.htm
NB: For a direct answer, e-mail address on the Web site!
next prev parent reply other threads:[~2003-02-27 8:38 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
2003-02-27 0:39 ` tmoran
2003-02-27 3:22 ` Steve
2003-02-27 8:38 ` Gautier [this message]
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