Guile Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Scheme style auto-resizing hashtable (fwd)
On Fri, 20 Nov 1998, Ian Bicking wrote:
> I guess I don't see how this could be a win. You can destruct the
> list, but the garbage collector still needs to dispose of all the
> components anyway, right?
well, guess what, I ran some tests and here's my *BIG WIN*: the
non-destructive procedures seem to use about 5% less space than the
destructive ones. OTOH, the destructive procedures are ~30% slower than
their non-destructive counter-parts.
I don't think that's a win in anyone's book :(
After this little exercise, I suspect that the GC is a bit smarter than I
thought. It must be. With the test I ran, my hypothesis was that the
non-destructive guys would use at least 25% more space. Not even close.
Jay Glascoe
jglascoe@jay.giss.nasa.gov
Guile Home |
Main Index |
Thread Index