comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@spam.acm.org>
Subject: Re: Using Ada.Containers.Vector and Limited Private types
Date: Sun, 13 Jul 2008 18:10:08 GMT
Date: 2008-07-13T18:10:08+00:00	[thread overview]
Message-ID: <4yrek.251407$yE1.227224@attbi_s21> (raw)
In-Reply-To: <16cdae3f-83fa-4bd2-a9d1-3750518ff9d8@y38g2000hsy.googlegroups.com>

Gene wrote:
> 
> You might want to be careful about this. I guess it depends how soft
> soft is. Internally it looks like GNAT ends up calling gcc malloc/free
> for UBS.  Implementations of malloc/free can have wildly varying
> performance depending on current heap structure.  Your app may meet
> time requirements today on test data and fail tomorrow because the
> heap has fragmented in a different way.

We are aware of the potential problems with Unbounded_String, but so far we are 
in actual use without problems. Since Unbounded_String is, conceptually at 
least, just a controlled wrapper around a pointer to String, we would expect to 
have to deal with the same problems if we manipulated such pointers directly. If 
we do encounter problems, we will probably replace Unbounded_String with some 
sort of bounded string.

-- 
Jeff Carter
"What lazy lout left these wires all over the lawn?"
Poppy
98



  reply	other threads:[~2008-07-13 18:10 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-05 11:53 Using Ada.Containers.Vector and Limited Private types Dale Stanbrough
2008-07-05 15:42 ` george.priv
2008-07-06 18:09 ` Gene
2008-07-06 19:18   ` Dmitry A. Kazakov
2008-07-07 13:29     ` Gene
2008-07-07 14:15       ` Dmitry A. Kazakov
2008-07-07 18:39         ` Gene
2008-07-10  0:16   ` Dale Stanbrough
2008-07-10  7:31     ` Dmitry A. Kazakov
2008-07-10 22:59     ` Gene
2008-07-11 22:06       ` Jeffrey R. Carter
2008-07-12  2:45         ` Gene
2008-07-12  4:41           ` Jeffrey R. Carter
2008-07-13 15:30             ` Gene
2008-07-13 18:10               ` Jeffrey R. Carter [this message]
2008-07-16 21:23               ` Simon Wright
2008-07-12  8:02           ` Dmitry A. Kazakov
2008-07-12  7:53       ` Dmitry A. Kazakov
replies disabled

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