[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] make symbol-GC more reliable
From: |
Peter Bex |
Subject: |
Re: [Chicken-hackers] [PATCH] make symbol-GC more reliable |
Date: |
Sun, 4 Nov 2012 15:46:39 +0100 |
User-agent: |
Mutt/1.4.2.3i |
On Sun, Nov 04, 2012 at 03:40:21PM +0100, Felix wrote:
> This means that a symbol was already collectible before "*count1*" was
> set. The "-1" is the result of the current symbol count subtracted
> from the initial. I think a w-e-t hash-collision caused a symbol not
> to be GC'd, even though no references existed anymore. As the hash-key
> is computed from the address of the symbol, differences in
> memory-layout will influence the time and amount of symbols collected.
OK, I guess that's just fine then. I've pushed the change.
Cheers,
Peter
--
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
is especially attractive, not only because it can be economically
and scientifically rewarding, but also because it can be an aesthetic
experience much like composing poetry or music."
-- Donald Knuth