comp.lang.ada
 help / color / mirror / Atom feed
From: bobduff@world.std.com (Robert A Duff)
Subject: Re: Why no constraint error?
Date: 1997/03/22
Date: 1997-03-22T00:00:00+00:00	[thread overview]
Message-ID: <E7GAqz.31K@world.std.com> (raw)
In-Reply-To: dewar.859021939@merv


In article <dewar.859021939@merv>, Robert Dewar <dewar@merv.cs.nyu.edu> wrote:
>I was always amazed that Bob could seriously suggest that all assignment
>statements must do range checks. In some cases, especially with arrays
>where you can never prove that elements are uninitialized in practice,
                                               initialized, you mean?
>you can slow things down by a large factor with this decision.

Not sure what you mean, but I'm certainly not suggesting that array
assignment must check each component.  It's perfectly legitimate to copy
an array containing uninitialized scalar values -- it would be wrong
(and slow) to range check them.

- Bob




  reply	other threads:[~1997-03-22  0:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-03-20  0:00 Why no constraint error? Samuel Mize
1997-03-20  0:00 ` Samuel Mize
1997-03-21  0:00   ` Robert A Duff
1997-03-22  0:00     ` Robert Dewar
1997-03-22  0:00       ` Robert A Duff [this message]
1997-03-22  0:00     ` Tucker Taft
1997-03-22  0:00       ` Robert A Duff
1997-03-24  0:00         ` Tucker Taft
1997-03-24  0:00       ` Samuel A. Mize
1997-03-24  0:00         ` Robert Dewar
1997-03-24  0:00         ` Robert A Duff
1997-03-24  0:00           ` Robert Dewar
replies disabled

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