guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: alloca and GC


From: Keisuke Nishida
Subject: Re: alloca and GC
Date: Tue, 30 Jan 2001 00:49:05 -0500
User-agent: Wanderlust/2.4.0 (Rio) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/21.0.96 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)

At 29 Jan 2001 15:10:08 -0500,
Colin Walters wrote:
> 
> > I see.  I have noticed that alloca is not a standard function and
> > decided not to use it.  Thanks again.
> 
> Well, Guile could take the Emacs approach and simply include a copy of
> alloca in its sources.

Does it allocate memory in the C stack as well?  It might be great
if I could use it because the VM would be simplified a bit with it.

On the other hand, if Guile is marking all objects referred from
the C stack, allocating a huge VM stack on the C stack might slow
down GC, while with my current approach, only necessary objects are
actually marked.  I'm not sure how much this might affect.

Kei



reply via email to

[Prev in Thread] Current Thread [Next in Thread]