From ... From: Erik Naggum Subject: Re: allocator and GC locality (was Re: cost of malloc) Date: 1995/08/09 Message-ID: <19950809T172513Z@naggum.no>#1/1 X-Deja-AN: 107840098 references: <40anj5$rra@info-server.bbn.com> organization: Naggum Software; +47 2295 0313 newsgroups: comp.lang.lisp [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. # -- fact of the day: the Norwegian sales tax is 23%