From: Jeffrey Carter <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: What is more efficient: a container or a manual programming?
Date: Sat, 09 Aug 2014 12:46:14 -0700
Date: 2014-08-09T12:46:14-07:00 [thread overview]
Message-ID: <ls5tq6$rl9$1@dont-email.me> (raw)
In-Reply-To: <ls5nop$p5e$1@speranza.aioe.org>
On 08/09/2014 11:03 AM, Victor Porton wrote:
>
>> What is more efficient: Rec or Cont?
>>
>> type Rec new Limited_Controlled with
>> record
>> Str: access String;
>> end record;
>>
>> --
>> -- Code to automatically deallocate Str when Rec is finalized
>> --
>>
>> or
>
> type Cont is new Containers.Indefinite_Holders(String);
Cont, because it makes more efficient use of the developer(s). Anything else is
only an issue if using Cont is preventing the system from meeting its timing
requirements.
--
Jeff Carter
"I fart in your general direction."
Monty Python & the Holy Grail
05
prev parent reply other threads:[~2014-08-09 19:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-09 17:42 What is more efficient: a container or a manual programming? Victor Porton
2014-08-09 18:03 ` Victor Porton
2014-08-09 19:46 ` Jeffrey Carter [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox