On Fri, Dec 4, 2015 at 9:06 PM, John Cowan <xxxxxx@mercury.ccil.org> wrote:
Shiro Kawai scripsit:
How do you reliably detect whether there are any substrings so that
you can copy them?  That takes close cooperation from the GC.

Gauche's GC doesn't move objects, but for copying GCs, one way is to keep 
the pointer to the head of the original string and the offset.