comp.lang.ada
 help / color / mirror / Atom feed
From: kilgallen@eisner.decus.org (Larry Kilgallen)
Subject: Re: Access types vs. Record types as procedure parameters
Date: 1999/08/19
Date: 1999-08-19T00:00:00+00:00	[thread overview]
Message-ID: <1999Aug19.170847.1@eisner> (raw)
In-Reply-To: 37BC4F12.E33D50EE@gbr.msd.ray.com

In article <37BC4F12.E33D50EE@gbr.msd.ray.com>, Andrew L Moore {66003} <alm@gbr.msd.ray.com> writes:

> I am looking for the way that would provide the greatest speed of
> execution.  I know that passing a pointer to an object of a record type
> is more efficient that passing the record itself,

No, you cannot know that if you are using a compiler.  The machine
instructions generated to perform what you program are entirely up
to the compiler.  It knows what calling techniques are efficient,
probably better than you do.

Larry KIlgallen




  reply	other threads:[~1999-08-19  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-19  0:00 Access types vs. Record types as procedure parameters Andrew L Moore {66003}
1999-08-19  0:00 ` Larry Kilgallen [this message]
1999-08-19  0:00 ` Robert Dewar
1999-08-19  0:00 ` Matthew Heaney
1999-08-19  0:00   ` Tucker Taft
replies disabled

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