comp.lang.ada
 help / color / mirror / Atom feed
* Strings Fixed, Bounded, and Counted. Performance Inquiry.
@ 2003-10-24 20:18 Freejack
  2003-10-24 20:28 ` Marin David Condic
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Freejack @ 2003-10-24 20:18 UTC (permalink / raw)


I'm currently tooling around with the various standard strings packages
And I began wondering if anyone has written a Counted strings package
for Ada.

Fixed strings are great in terms of performance. Bounded strings are
pretty good. However I havent seen anyone do a performance analysis of
Counted strings. I'm thinking in the Forth sense of the type.

i.e. The first element of the String is a number indicating the length of
the string. No null terminators needed. 
A bit more flexible than Fixed strings, a heck of a lot faster than Null 
terminated strings. Not sure how they stack up to Bounded strings.

Has anyone played with these in an Ada context?

I'm gonna write my own experimental package if nobody else has

Freejack



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-11-02 10:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-24 20:18 Strings Fixed, Bounded, and Counted. Performance Inquiry Freejack
2003-10-24 20:28 ` Marin David Condic
2003-10-25  0:46 ` Jeffrey Carter
2003-10-25 21:24   ` Marin David Condic
2003-10-27 17:18 ` Stephen Leake
2003-10-27 19:15   ` Freejack
2003-10-27 19:31     ` Stephen Leake
2003-11-02 10:42   ` Tarjei T. Jensen

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