comp.lang.ada
 help / color / mirror / Atom feed
From: Freejack <user@nospam.net>
Subject: Strings Fixed, Bounded, and Counted. Performance Inquiry.
Date: Fri, 24 Oct 2003 20:18:04 GMT
Date: 2003-10-24T20:18:04+00:00	[thread overview]
Message-ID: <pan.2003.10.24.20.24.13.318562.974@nospam.net> (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



             reply	other threads:[~2003-10-24 20:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-24 20:18 Freejack [this message]
2003-10-24 20:28 ` Strings Fixed, Bounded, and Counted. Performance Inquiry 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
replies disabled

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