comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Reserve_Capacity for Unbounded_String?
Date: Thu, 26 Jul 2007 17:11:36 -0500
Date: 2007-07-26T17:11:36-05:00	[thread overview]
Message-ID: <f8b62d$och$1@jacob-sparre.dk> (raw)
In-Reply-To: 1185395844.104043.194340@o61g2000hsh.googlegroups.com

"Maciej Sobczak" <see.my.homepage@gmail.com> wrote in message
news:1185395844.104043.194340@o61g2000hsh.googlegroups.com...
...
> Building a string by appending small chunks to the end seems to be a
> common practice. Optimizing the library for this case is a wise
> implementation strategy.

Yes, but not if performance matters. If performance matters, doing a lot of
small operations is the worst possible way to do it, irrespective of the
implementation of those small operations.

We chose

> > I still don't think it is worth it, but obviously a customer example
could
> > change my mind.
>
> What about a customer who is choosing the competing product? Doesn't
> sound convincing enough?

No, because customers don't chose products because of the performance of one
rarely used library call. They chose products because of price, features,
ease of use, reputation of vendor, and quality of support. And it is also
the case that they rarely tell the truth about why they chose something
(partially because they often don't really have a clear understanding of
that either). I'd rather spend our limited efforts on these factors
(especially ease of use, where I don't think Janus/Ada really measures up
very well) than chasing single customers with single changes, especially
ones that will negatively impact other usage patterns.

After all, my experience with chasing customers has uniformly been bad; they
always have a new reason for not buying once you eliminate the last one.

                                               Randy.





      parent reply	other threads:[~2007-07-26 22:11 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-22 19:54 Reserve_Capacity for Unbounded_String? Maciej Sobczak
2007-07-22 21:32 ` Robert A Duff
2007-07-23 19:29   ` Maciej Sobczak
2007-07-23 20:30     ` Robert A Duff
2007-07-23  4:28 ` Jeffrey R. Carter
2007-07-23 15:07 ` Adam Beneschan
2007-07-24  1:01   ` Randy Brukardt
2007-07-24  7:57     ` Pascal Obry
2007-07-24 18:58       ` Randy Brukardt
2007-07-24 23:50         ` Robert A Duff
2007-07-25  0:00           ` Randy Brukardt
2007-07-24 23:54         ` Pascal Obry
2007-07-25  0:52           ` Randy Brukardt
2007-07-25  1:28           ` Randy Brukardt
2007-07-25  7:48             ` Pascal Obry
2007-07-25  9:55               ` Georg Bauhaus
2007-07-25 10:02                 ` Georg Bauhaus
2007-07-25 18:58               ` Randy Brukardt
2007-07-25  8:50             ` Martin Krischik
2007-07-25  9:26               ` AW: " Grein, Christoph (Fa. ESG)
2007-07-25 15:32                 ` Martin Krischik
2007-07-25 15:39                 ` Martin Krischik
2007-07-24 23:41     ` Robert A Duff
2007-07-25  0:16       ` Randy Brukardt
2007-07-25  2:25         ` Robert A Duff
2007-07-25  6:07           ` Simon Wright
2007-07-25 19:08           ` Randy Brukardt
2007-07-25 20:37             ` Maciej Sobczak
2007-07-25 22:06               ` Georg Bauhaus
2007-07-26  6:24                 ` Maciej Sobczak
2007-07-26  8:09                   ` Dmitry A. Kazakov
2007-07-26  8:20                     ` Pascal Obry
2007-07-26  9:59                       ` Dmitry A. Kazakov
2007-07-26  8:35                   ` Georg Bauhaus
2007-07-26 22:11               ` Randy Brukardt [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