comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: GNAT: Performance of String functions
Date: 1997/07/23
Date: 1997-07-23T00:00:00+00:00	[thread overview]
Message-ID: <dewar.869632830@merv> (raw)
In-Reply-To: 33D4DC7B.D8EEA39A@ericsson.com


Jakob says

<<Well, your doubts fails you. It is the SAME algoritm, it has been
translated
mechanically, and modified in minimum way to use ada functions were
mechanically, and modified in minimum way to use ada functions were
applicable.

But the overall algoritm of the translated program is the same. The
VAX-pascal =

is also modular so things are wrapped in packages the same way as in the
old code.
Certain Pascal concepts have been exchanged with ADA equivs, systems
calls are
of course new. One of these is strings and strings comparison. One
mistake, perhaps =

is that vax-strings have been replaced with unbounded strings instedad
of bounded s'.
>>


You missed my point, yes of course you can translate the high le vel
structure of the algorithm, but what interests us here is the algorithms
and data structures used for string handling, and what I meant when I
said that I doubted you could do the same thing in Pascal, was that
I doubted you could duplicate the algorithms and data structures of
unbounded strings.

And indeed that is the case, the proper translation is to bounded strings.





      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             ` 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                       ` Larry Kilgallen
1997-07-23  0:00                       ` Robert Dewar
1997-07-23  0:00                         ` Tarjei Jensen
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                             ` Tarjei Jensen
1997-07-24  0:00                               ` Robert Dewar
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                                 ` Matthew Heaney
1997-07-29  0:00                                   ` Robert Dewar
1997-07-28  0:00                                 ` Robert Dewar
1997-07-28  0:00                                   ` Robert Dewar
1997-07-24  0:00                             ` Matthew Heaney
1997-07-21  0:00             ` Robert Dewar
1997-07-22  0:00   ` Jakob Heinemann
1997-07-23  0:00     ` Robert Dewar [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