[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-janitors] #1293: eq?-hash tables calculcate different value
From: |
Chicken Trac |
Subject: |
Re: [Chicken-janitors] #1293: eq?-hash tables calculcate different value for objects after they're mutated and lose locatives after GC |
Date: |
Sat, 28 Oct 2017 19:49:45 -0000 |
#1293: eq?-hash tables calculcate different value for objects after they're
mutated and lose locatives after GC
-------------------------------------+-------------------------------------
Reporter: sjamaan | Owner:
Type: defect | Status: new
Priority: critical | Milestone: someday
Component: core | Version: 4.10.x
libraries | Keywords: srfi-69, hash tables,
Resolution: | locatives
Estimated difficulty: hard |
-------------------------------------+-------------------------------------
Changes (by johnwcowan):
* difficulty: insane => hard
Comment:
The Right Thing here is to use a pointer as the eq-hash, and then modify
the major GC (which has a conspectus of all of memory) so that it rehashes
all the eq-hash-tables at once. This is hard, but not insanely hard.
Alternatively, simply declare that anyone who mutates a key deserves to
lose, even in eq-hash-tables.
--
Ticket URL: <https://bugs.call-cc.org/ticket/1293#comment:11>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Chicken-janitors] #1293: eq?-hash tables calculcate different value for objects after they're mutated and lose locatives after GC,
Chicken Trac <=