From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b84f51b862b7b6f5 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-01-09 12:46:45 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wn11feed!wn12feed!wn13feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!not-for-mail Reply-To: "James S. Rogers" From: "James S. Rogers" Newsgroups: comp.lang.ada References: Subject: Re: String library with garbage collection? X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: Date: Thu, 09 Jan 2003 20:46:45 GMT NNTP-Posting-Host: 12.86.39.51 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1042145205 12.86.39.51 (Thu, 09 Jan 2003 20:46:45 GMT) NNTP-Posting-Date: Thu, 09 Jan 2003 20:46:45 GMT Organization: AT&T Worldnet Xref: archiver1.google.com comp.lang.ada:32843 Date: 2003-01-09T20:46:45+00:00 List-Id: "Craig Carey" wrote in message news:u2ar1vcnuqia1j380gc3pk134rg87dgvba@4ax.com... > > On Thu, 09 Jan 2003 11:33:56 +0100, Ingo "I. Marks" > wrote: > > >I'm looking for an open source dynamic string library with garbage > >collection for Ada95. > > > >Any hints? > > > > I have a "faster than Unbounded Strings" strings package here: > > http://www.ijs.co.nz/code/ada95_strings_pkg.zip > > package StriUnli, 17KB, updated in Jan 2003, seems to run well. > > That package does not implement garbage collecting. Also it is not 'dynamic'. > Each string has waste and a way of resolving that is to have the calling > program shift it into global variables if possible. Ada.Strings.Unbounded is not intended to be fast. It is intended to be dynamic. Ada strings are fast and inflexible. The package Ada.Strings.Unbounded allows you to instantiate fast and flexible strings. The placement of variables in global scope can cause severe problems in a concurrent system. Be very careful when not to use global variables with tasks. Jim Rogers