guile-syntax-parse

2011-11-27 Thread Stefan Israelsson Tampe
Oh, let me refrace the previous mail and sebnd it to guuile devel also! -- Forwarded message -- From: Stefan Israelsson Tampe Date: Sun, Nov 27, 2011 at 4:03 PM Subject: Re: guile-syntax-parse To: Andy Wingo On syntax parse, Syntax parse depends heavally on syntax parameters.

Re: [PATCH] Configure GMP to use GC allocation functions, remove bignum finalizers

2011-11-27 Thread Andy Wingo
Hi, An old thread, but one that would be good to fix. To recap, Mark Weaver wrote: > Without this patch, computing (factorial 10), where factorial is > implemented using the straightforward iterative approach below, causes > Guile to allocate a huge amount of memory. This happens because th

Re: [PATCH] Configure GMP to use GC allocation functions, remove bignum finalizers

2011-11-27 Thread Ludovic Courtès
Hi! Andy Wingo skribis: > I still this this is a good idea. The key would be to GC more often > when the heap image grows faster than GC'd memory is allocated. We can > detect this situation by computing (ImageSize_t+1 - ImageSize_t) / > (LiveBytes_t+1 - LiveBytes_t), where ImageSize is some m