guile-devel
[Top][All Lists]
Advanced

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

Re: Guile + Boehm GC


From: Han-Wen Nienhuys
Subject: Re: Guile + Boehm GC
Date: Tue, 21 Mar 2006 17:44:20 +0000 (UTC)

In article <address@hidden>,
Ludovic Courtès <address@hidden> wrote:
>>
>>   http://www.xs4all.nl/~hanwen/public/guile/guile-boehm.gz
>>
>> note that this is a patch for the "old" GC code, before I took a stab
>> at rewriting.
>
>The good news is that it looks quite simple!  The main changes are
>located here (diffstat):
>
> libguile/gc.c                 |  854 
> +-----------------------------------------
> libguile/gc.h                 |   57 --
>
>However, it looks like you didn't look at weak hash tables back then.
>My impression is that porting them would be the most difficult task.


Yes, correct. It was a quick hack.

>> BTW, I ran across Judy trees today,
>>
>>   http://judy.sourceforge.net/
>>
>> would it be worthwhile to try replacing resizing hash tables in Guile
>> with Judy trees? I expect that it would incur a significant speedup.
>
>I was not aware of this project but I'm not so sure it would have a
>significant impact.  Currently, Guile spends a huge amount of time
>managing memory and improving this should be priority #1 I think.

Quite possibly, but LilyPond is my main application, and Lily also
spends a lot of time doing various kinds of hashtable lookups.






reply via email to

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