comp.lang.ada
 help / color / mirror / Atom feed
From: martin.dowie@btopenworld.com (Martin Dowie)
Subject: Re: renames and access
Date: 13 Feb 2004 00:30:42 -0800
Date: 2004-02-13T00:30:42-08:00	[thread overview]
Message-ID: <af783afe.0402130030.f2a0540@posting.google.com> (raw)
In-Reply-To: pan.2004.02.12.18.36.09.538296@virgilio.it

"Francesco Bochicchio" <bockman@virgilio.it> wrote in message > I thought of that:
> 
> 1. It adds a function call overhead for each time one of the variables is
>    accessed ( and it happens a lot )

What sort of processor are you using and what sort of timing
constraints do you have? You may find that the time taken to perform
the function call (even a lot of them) isn't as much as you would
think. This is especially true if porting from, for example, a 68020
to a PPC740.

In some cases, including function/procedure calls, instead of inlining
the equivilant code and speed you app up (by avoid cache misses).



  reply	other threads:[~2004-02-13  8:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-11 19:15 renames and access Francesco Bochicchio
2004-02-11 22:09 ` Randy Brukardt
2004-02-12  0:02 ` Robert A Duff
2004-02-12 18:36   ` Francesco Bochicchio
2004-02-13  8:30     ` Martin Dowie [this message]
2004-02-13 20:33     ` Robert I. Eachus
2004-02-12  2:32 ` Stephen Leake
2004-02-12 18:30   ` Francesco Bochicchio
2004-02-13 19:01     ` Georg Bauhaus
replies disabled

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