![](https://secure.gravatar.com/avatar/326b108ffcc42f27628703b0c11ed239.jpg?s=120&d=mm&r=g)
20 Jun
2008
20 Jun
'08
7:13 a.m.
On Fri, Jun 20, 2008 at 5:21 AM, Hans Hübner <hans@huebner.org> wrote:
is there a good reason why WITH-FOREIGN-STRING allocates the buffer on the heap instead of using WITH-FOREIGN-OBJECT, which will allocate on the stack on platforms that support it?
I believe we were worried about big strings and the possibility of overflowing the stack. I suppose we could add an argument to WITH-FOREIGN-STRING and :STRING to force stack allocation. -- Luís Oliveira http://student.dei.uc.pt/~lmoliv/