From: "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr>
Subject: Re: Ann: Natools.Chunked_Strings, beta 1
Date: Wed, 30 Nov 2011 11:39:30 +0100
Date: 2011-11-30T11:39:30+01:00 [thread overview]
Message-ID: <op.v5q874xcule2fv@douda-yannick> (raw)
In-Reply-To: 4ed4fc37$0$2537$ba4acef3@reader.news.orange.fr
Le Tue, 29 Nov 2011 16:37:27 +0100, Pascal Obry <pascal@obry.net> a écrit:
> Do you have some speed/memory comparison between your Chunked_String and
> GNAT Unbounded_String?
>
> Pascal.
Probably not relevant as a generality: depends on string lengths.
By the way, I feel the original message is based on erroneous assumptions
about implementations of Ada.Strings.Unbounded. Nothing in the RM requires
an implementations to use a single array for unbounded strings, and on the
opposite, it says `type Unbounded_String is private;`.
At least for that reason, I feel this would be even better to stick to the
exact same interface as the one of Ada.Strings.Unbounded. If that's
another implementation of Ada.Strings.Unbounded, then, this should expose
the same interface. This way, the client side could easily use one or the
other via static polymorphism.
--
“Syntactic sugar causes cancer of the semi-colons.” [1]
“Structured Programming supports the law of the excluded muddle.” [1]
[1]: [Epigrams on Programming — Alan J. — P. Yale University]
next prev parent reply other threads:[~2011-11-30 10:40 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-29 15:16 Ann: Natools.Chunked_Strings, beta 1 Natasha Kerensikova
2011-11-29 15:37 ` Pascal Obry
2011-11-29 16:34 ` Natasha Kerensikova
2011-11-29 17:08 ` Georg Bauhaus
2011-11-30 9:51 ` Natasha Kerensikova
2011-11-29 20:25 ` Randy Brukardt
2011-11-30 10:44 ` Yannick Duchêne (Hibou57)
2011-11-30 10:39 ` Yannick Duchêne (Hibou57) [this message]
2011-11-30 10:57 ` Dmitry A. Kazakov
2011-12-01 0:11 ` Randy Brukardt
2011-12-01 8:30 ` Dmitry A. Kazakov
2011-12-01 23:26 ` Vinzent Hoefler
2011-12-02 8:27 ` Dmitry A. Kazakov
2011-12-02 9:30 ` Georg Bauhaus
2011-12-02 13:11 ` Dmitry A. Kazakov
2011-12-02 0:39 ` Randy Brukardt
2011-12-01 9:02 ` Yannick Duchêne (Hibou57)
2011-11-30 13:08 ` Natasha Kerensikova
2011-11-30 19:39 ` Jeffrey Carter
2011-12-01 10:57 ` Natasha Kerensikova
2011-12-01 19:07 ` Jeffrey Carter
2011-12-01 21:19 ` Yannick Duchêne (Hibou57)
2011-12-01 22:49 ` Natasha Kerensikova
2011-12-02 16:16 ` Tero Koskinen
2011-12-02 17:36 ` Adam Beneschan
2011-12-02 18:52 ` Tero Koskinen
2011-12-02 18:14 ` Yannick Duchêne (Hibou57)
2011-12-02 19:07 ` Adam Beneschan
2011-11-30 10:33 ` Yannick Duchêne (Hibou57)
2011-11-30 11:04 ` Natasha Kerensikova
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox