Subject: Re: allocator and GC locality (was Re: cost of malloc)
From: Erik Naggum <erik@naggum.no>
Date: 1995/08/09
Newsgroups: comp.lang.lisp
Message-ID: <19950809T172513Z@naggum.no>

[Clint Hyde]

|   I'd disagree with this. In Lisp code, this is perhaps true, but in C, I
|   doubt it. Lisp lets you casually produce a new string, either via
|   CONCATENATE or FORMAT NIL or WITH-OUTPUT-TO-STRING and it GCs the old
|   ones for you. (In fact, it's harder to do otherwise. how would you tell
|   READ to reuse an input buffer that you already had hold of?)

`read-from-string' actually takes two keyword arguments `start' and `end'
which allows just that.

#<Erik 3016977913>
-- 
fact of the day:
    the Norwegian sales tax is 23%