comp.lang.ada
 help / color / mirror / Atom feed
From: tarjeij@ulrik.uio.no (Tarjei Jensen)
Subject: Re: GNAT: Performance of String functions
Date: 1997/07/23
Date: 1997-07-23T00:00:00+00:00	[thread overview]
Message-ID: <5r5cfh$irn$1@ratatosk.uio.no> (raw)
In-Reply-To: dewar.869632950@merv



>Robert Dewar writes:
> You are still making unwarranted assumptions about the data structure
> used for bounded strings. If the data structure is what you call a
> "counted
> " string, then no special cleverness is required on the compiler's part.

As you have supplied no name of any existing compiler that implements bounded
strings any other way than GNAT does it, the I assume that my assumption is
warranted.

I'd be delighted if it is possible to write a portable bounded string package
that does not copy blindly on assignment. So far everything I have seen leads
me to believe that this is not possible. Perhaps if bounded strings were
implemented with pointers to the actual strings, but that may just complicate
matters.



Greetings,

-- 
// Tarjei T. Jensen 
//    tarjeij@ulrik.uio.no || fax +47 51 85 87 01 || voice +47 51 85 87 39
//   Support you local rescue centre: GET LOST!
// Working, but not speaking for the Norwegian Hydrographic Service.




  reply	other threads:[~1997-07-23  0:00 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-07-18  0:00 GNAT: Performance of String functions Jakob Heinemann
1997-07-18  0:00 ` Robert Dewar
1997-07-19  0:00   ` Tarjei T. Jensen
1997-07-19  0:00     ` Matthew Heaney
1997-07-20  0:00     ` Tarjei T. Jensen
1997-07-20  0:00     ` Robert Dewar
1997-07-20  0:00       ` Tarjei T. Jensen
1997-07-20  0:00         ` Robert Dewar
1997-07-21  0:00           ` Tucker Taft
1997-07-21  0:00             ` Robert Dewar
1997-07-21  0:00             ` Tarjei Jensen
1997-07-21  0:00               ` Matthew Heaney
1997-07-22  0:00               ` Robert Dewar
1997-07-22  0:00                 ` Tarjei Jensen
1997-07-22  0:00                   ` Robert Dewar
1997-07-22  0:00                   ` Larry Kilgallen
1997-07-22  0:00                     ` Tarjei T. Jensen
1997-07-23  0:00                       ` Robert Dewar
1997-07-23  0:00                         ` Tarjei Jensen [this message]
1997-07-23  0:00                           ` Samuel Mize
1997-07-23  0:00                             ` W. Wesley Groleau x4923
1997-07-24  0:00                             ` Robert A Duff
1997-07-24  0:00                           ` Mats Weber
1997-07-24  0:00                             ` Matthew Heaney
1997-07-24  0:00                             ` Robert Dewar
1997-07-28  0:00                               ` Mats Weber
1997-07-28  0:00                                 ` Robert Dewar
1997-07-28  0:00                                   ` Robert Dewar
1997-07-28  0:00                                 ` Matthew Heaney
1997-07-29  0:00                                   ` Robert Dewar
1997-07-24  0:00                             ` Tarjei Jensen
1997-07-24  0:00                               ` Robert Dewar
1997-07-24  0:00                               ` Matthew Heaney
1997-07-23  0:00                       ` Larry Kilgallen
1997-07-22  0:00   ` Jakob Heinemann
1997-07-23  0:00     ` Robert Dewar
replies disabled

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