This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: speed and consing (Re: DHARMI project)


> The Boehm-Weiser GC is nice, but there are some objections to using it in
> guile:
> 
> - highly OS-dependant
> - license
> - speed (guile's GC is faster then the BW-GC)
> - problematic when interfacing with libs not using the proper allocation
>   functions 

Hang on, wasn't the whole idea of looking at alternative garbage
collectors to make the thing run faster? What is the point og BW-GC if
it is actually slower than the (comparatively simple) mark and sweep
system that guile already uses?

Maybe the speed problem is mostly caused by BW-GC being conservative
all the time (since it has no internal understanding of the C structures
that it is dealing with). Using it on scheme structures would allow a
big improvement there (this is just a guess).

	- Tel