Re: [Scheme-reports] fresh empty strings John Cowan 24 Jan 2012 19:56 UTC

xacc.ide@gmail.com scripsit:

> What trouble? The underlying framework of my scheme does that for me :)

There is a cost to interning strings, though.  Most of the Java
implementations do it, but not SISC, which is not using java.lang.String.
Per contra, all implementations must be able to intern symbols, so
most of the machinery is already present to intern strings.  Of course,
interning requires distinguishing between mutable and immutable strings
at run time, which not all Schemes do.

--
John Cowan   cowan@ccil.org    http://ccil.org/~cowan
I am he that buries his friends alive and drowns them and draws them
alive again from the water. I came from the end of a bag, but no bag
went over me.  I am the friend of bears and the guest of eagles. I am
Ringwinner and Luckwearer; and I am Barrel-rider.  --Bilbo to Smaug

_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports