From: Jeffrey Carter <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: Reading the while standard input into a String
Date: Mon, 06 Jun 2011 09:55:39 -0700
Date: 2011-06-06T09:55:39-07:00 [thread overview]
Message-ID: <isj3fq$gv5$1@tornado.tornevall.net> (raw)
In-Reply-To: <1ckesozpipi2y$.p1ei3zmgxjfc$.dlg@40tude.net>
On 06/06/2011 05:05 AM, Dmitry A. Kazakov wrote:
> On Mon, 6 Jun 2011 10:46:20 +0000 (UTC), Natasha Kerensikova wrote:
>
>> On 2011-06-06, Dmitry A. Kazakov<mailbox@dmitry-kazakov.de> wrote:
>
>>> Don't use Unbounded_String; that is a
>>> bad idea in almost all cases, this one included.
>>
>> Would you explain why?
>
> Because they are inefficient ...
"Efficiency" is a function of timing requirements. GNAT's Unbounded_String is so
inefficient that we have a soft real-time application that makes extensive use
of Unbounded_String and has no problem meeting its timing requirements.
Unbounded_String is perfectly reasonable for many situations; worrying about
"efficiency" before encountering timing constraints is premature optimization.
--
Jeff Carter
"I fart in your general direction."
Monty Python & the Holy Grail
05
next prev parent reply other threads:[~2011-06-06 16:55 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-05 16:20 Reading the while standard input into a String Natasha Kerensikova
2011-06-06 1:49 ` robin
2011-06-06 7:18 ` Dmitry A. Kazakov
2011-06-06 10:46 ` Natasha Kerensikova
2011-06-06 12:05 ` Dmitry A. Kazakov
2011-06-06 16:55 ` Jeffrey Carter [this message]
2011-06-06 17:42 ` Pascal Obry
2011-06-06 17:43 ` Pascal Obry
2011-06-06 18:31 ` Dmitry A. Kazakov
2011-06-06 8:09 ` stefan-lucks
2011-06-06 8:33 ` Ludovic Brenta
2011-06-06 10:08 ` Natasha Kerensikova
2011-06-06 10:27 ` Ludovic Brenta
2011-06-06 10:31 ` Ludovic Brenta
2011-06-06 12:07 ` Natasha Kerensikova
2011-06-06 15:18 ` Maciej Sobczak
2011-06-06 18:18 ` Dmitry A. Kazakov
2011-06-06 18:36 ` Maciej Sobczak
2011-06-06 18:53 ` Dmitry A. Kazakov
2011-06-06 19:10 ` J-P. Rosen
2011-06-06 19:46 ` Dmitry A. Kazakov
2011-06-06 23:37 ` Shark8
2011-06-07 3:00 ` Randy Brukardt
2011-06-07 7:25 ` Dmitry A. Kazakov
2011-06-07 7:32 ` Maciej Sobczak
2011-06-07 8:51 ` Dmitry A. Kazakov
2011-06-07 3:10 ` Randy Brukardt
2011-06-06 19:06 ` J-P. Rosen
2011-06-06 19:52 ` Dmitry A. Kazakov
2011-06-07 3:15 ` Randy Brukardt
2011-06-06 22:14 ` Robert A Duff
2011-06-06 9:46 ` Georg Bauhaus
2011-06-06 11:16 ` Georg Bauhaus
2011-06-06 12:11 ` Dmitry A. Kazakov
2011-06-06 13:32 ` Georg Bauhaus
2011-06-06 14:06 ` Dmitry A. Kazakov
2011-06-06 14:14 ` Georg Bauhaus
2011-06-07 3:19 ` Randy Brukardt
2011-06-06 18:14 ` John B. Matthews
2011-06-07 10:23 ` Martin
2011-06-07 16:57 ` John B. Matthews
2011-06-07 17:22 ` Robert A Duff
2011-06-07 17:55 ` John B. Matthews
2011-06-08 0:26 ` Robert A Duff
2011-06-08 7:38 ` Egil Høvik
2011-06-08 9:27 ` Martin
2011-06-08 12:04 ` Egil Høvik
2011-06-08 18:09 ` Niklas Holsti
2011-06-09 0:46 ` Randy Brukardt
2011-06-10 8:22 ` Martin
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox