From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7be1cfc685fd1ce2 X-Google-Attributes: gid103376,public From: kilgallen@eisner.decus.org (Larry Kilgallen) Subject: Re: Access types vs. Record types as procedure parameters Date: 1999/08/19 Message-ID: <1999Aug19.170847.1@eisner>#1/1 X-Deja-AN: 514848311 X-Nntp-Posting-Host: eisner.decus.org References: <37BC4F12.E33D50EE@gbr.msd.ray.com> X-Trace: news.decus.org 935096930 16969 KILGALLEN [216.44.122.34] Organization: LJK Software Reply-To: Kilgallen@eisner.decus.org.nospam Newsgroups: comp.lang.ada Date: 1999-08-19T00:00:00+00:00 List-Id: In article <37BC4F12.E33D50EE@gbr.msd.ray.com>, Andrew L Moore {66003} 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