comp.lang.ada
 help / color / mirror / Atom feed
From: "J-P. Rosen" <rosen@adalog.fr>
Subject: Re: Runtime check : what about you ?
Date: Sat, 18 Jun 2011 09:16:50 +0200
Date: 2011-06-18T09:16:50+02:00	[thread overview]
Message-ID: <ithjd3$jkd$1@dont-email.me> (raw)
In-Reply-To: <e0ac441f-db3e-4874-95ce-393524deef79@l2g2000prg.googlegroups.com>

Le 17/06/2011 20:59, Adam Beneschan a �crit :
Others have already said what I wanted to say...

An addition:
> And it was
> certainly part of the intent of Ada's designers that developers would
> develop their programs with checking turned on but then turn it off
> after the program has been tested and is ready to be put into
> production.
Definitely not. Don't forget that a pragma, including pragma suppress,
can be put in very limited scopes.

The intent is that IF you have identified the innermost loop that eats
up 90% of the computing time, and IF you have determined by careful
measurement that a significant part of it is taken by checks, and IF
your program cannot meet otherwise the performances from its
requirements, THEN you can include this loop into a block statement to
which a pragma suppress applies.


-- 
---------------------------------------------------------
           J-P. Rosen (rosen@adalog.fr)
Adalog a d�m�nag� / Adalog has moved:
2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX
Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00



  parent reply	other threads:[~2011-06-18  7:16 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-17  9:42 Runtime check : what about you ? Yannick Duchêne (Hibou57)
2011-06-17  9:56 ` Niklas Holsti
2011-06-17 10:06 ` Martin
2011-06-17 10:43 ` Simon Wright
2011-06-17 11:35 ` J-P. Rosen
2011-06-17 16:06 ` björn lundin
2011-06-17 19:18   ` Robert A Duff
2011-06-17 20:13     ` björn lundin
2011-06-17 20:34     ` Simon Wright
2011-06-17 17:53 ` Jeffrey Carter
2011-06-17 18:59   ` Adam Beneschan
2011-06-17 20:30     ` björn lundin
2011-06-18  0:19     ` Randy Brukardt
2011-06-18  0:26     ` Randy Brukardt
2011-06-18  3:08     ` tmoran
2011-06-18  7:16     ` J-P. Rosen [this message]
2011-06-18  8:04     ` Niklas Holsti
2011-06-17 20:12   ` Vinzent Hoefler
2011-06-17 20:12 ` Vinzent Hoefler
2011-06-18  0:15 ` Randy Brukardt
2011-06-18  0:29   ` Robert A Duff
2011-06-18  8:03     ` Dmitry A. Kazakov
2011-06-18  6:56 ` Dmitry A. Kazakov
replies disabled

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