From paul@inet.co.za  Tue May 16 07:41:07 2000
Received: from exchange_rbk02.inet.co.za (exchange-rbk02.inet.co.za [196.38.91.22])
	by swi.psy.uva.nl (8.9.3/8.9.3) with ESMTP id HAA13947
	for <prolog@swi.psy.uva.nl>; Tue, 16 May 2000 07:41:04 +0200 (MET DST)
Received: from pdev.inet.co.za ([196.14.60.35]) by exchange_rbk02.inet.co.za with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21)
	id K81Z3Q08; Tue, 16 May 2000 07:42:36 +0200
Date: Tue, 16 May 2000 09:30:54 +0200 (GMT+0200)
From: Paul Sephton <paul@inet.co.za>
To: "Richard A. O'Keefe" <ok@atlas.otago.ac.nz>
cc: ino-waiting@gmx.net, prolog@swi.psy.uva.nl
Subject: Re: String Representation
In-Reply-To: <200005160534.RAA20753@atlas.otago.ac.nz>
Message-ID: <Pine.LNX.3.91.1000516093022.19793B-100000@pdev.inet.co.za>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Tue, 16 May 2000, Richard A. O'Keefe wrote:

> I wrote:
> > Using a *single* atom to hold a string has the advantage that if there
> > are several occurrences of exactly the same string, they will share the
> > representation, so you can get less than 1 byte per character.

Unless, of course, you are talking about single character atoms...

> 
> "clemensF" <ino-waiting@gmx.net> wrote
> : that taken together with reference counting and garbage collection makes it
> : "irresistable", right?
> 	
> No.  It makes it a respectable design alternative that should be considered
> for some problems when portability is not an issue.
> 
> 
> ----------------
> * To UNSUBSCRIBE, please use the HTML form at
> 
>     http://www.swi.psy.uva.nl/projects/SWI-Prolog/index.html#mailinglist
> 
> or send mail to prolog-request@swi.psy.uva.nl using the Subject: "unsubscribe"
> (without the quotes) and *no* message body.
> 
> ** An ARCHIVE of this list is maintained at
> 
>     http://www.swi.psy.uva.nl/projects/SWI-Prolog/mailinglist/archive/
> 

_____________________________________________________________________________
Paul Sephton (paul@inet.co.za)                               INET Development
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ever wondered if jumping out of the frying pan might actually be refreshing?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

