guile-devel
[Top][All Lists]
Advanced

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

Weak-value hash tables now work


From: Ludovic Courtès
Subject: Weak-value hash tables now work
Date: Thu, 23 Sep 2010 22:15:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Hello!

For the record, weak-value hash tables were broken since the switch to
BDW-GC, which went unnoticed because the tests were wrong and, hmm, they
were presumably under-used.  :-)

Commit 5a99a574e43a08817f21bdeebe1c302051ffb237 fixes them.

On a related note, I plan to deprecate weak-alist vectors
(‘make-weak-key-alist-vector’ & co.) since they are conceptually the
same thing as weak hash tables and are currently implemented as weak
hash tables anyway (in 1.8 things were slightly different, supposedly
for historical reasons.)

Thoughts?

Thanks,
Ludo’.




reply via email to

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