In article <[EMAIL PROTECTED]>, Ludovic Courtès <[EMAIL PROTECTED]> 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. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel