[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#14792: bug#18223: Duplicate of issue 14792
From: |
Mark H Weaver |
Subject: |
bug#14792: bug#18223: Duplicate of issue 14792 |
Date: |
Sun, 10 Aug 2014 23:00:37 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
merge 18223 14792
close 18223
close 14792
thanks
David Kastrup <address@hidden> writes:
> Here is the rationale in code: object properties are implemented via
> key-weak hash tables, and weak hash tables will not work with eqv? as
> equivalence since key-weakness is related to garbage collection which
> cannot consider anything but eq?-equivalence.
>
> scheme@(guile-user)> (define x (make-weak-key-hash-table))
> scheme@(guile-user)> (hashv-set! x 100000000000000000000 #t)
> $6 = #t
> scheme@(guile-user)> (gc)
> scheme@(guile-user)> (hashv-ref x 100000000000000000000)
> $7 = #f
Indeed, you are right. I added a proper commit message to your patch,
and have applied it to the stable-2.0 branch. I'm closing both bugs.
Thanks!
Mark