comp.lang.ada
 help / color / mirror / Atom feed
From: "Francesco Bochicchio" <bockman@virgilio.it>
Subject: Re: renames and access
Date: Thu, 12 Feb 2004 18:36:23 GMT
Date: 2004-02-12T18:36:23+00:00	[thread overview]
Message-ID: <pan.2004.02.12.18.36.09.538296@virgilio.it> (raw)
In-Reply-To: wccfzdhkvw0.fsf@shell01.TheWorld.com

On Wed, 11 Feb 2004 19:02:23 +0000, Robert A Duff wrote:

> 
>> If this turns impossible, what would be an equivalent solution? At the
>> moment, my bet is to turn the renames into access. Any better idea?
> 
> Turning into access would work, but then you have to modify all the
> clients.

Right.

>  But how about this:
> 
>     function A return Integer is
>     begin
>         return REC_PTR.A;
>     end A;
> 
> ?
>

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 )
2. It only solves variable reading. I don't see any equivalent way to
assign values to the variables.


Thanks anyway.

Ciao
-----
FB



  reply	other threads:[~2004-02-12 18:36 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 [this message]
2004-02-13  8:30     ` Martin Dowie
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