chicken-janitors
[Top][All Lists]
Advanced

[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: Tue, 23 Aug 2016 19:20:44 -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:  4.12.0
 Component:  core libraries  |    Version:  4.10.x
Resolution:                  |   Keywords:  srfi-69, hash tables, locatives
-----------------------------+---------------------------------------------

Comment (by sjamaan):

 Fixing locatives for `equal?` hash tables is relatively easy: just special
 case it and use `locative->object` to retrieve the object and recur on it,
 instead of taking the raw pointer in the "special" slot.

--
Ticket URL: <http://bugs.call-cc.org/ticket/1293#comment:5>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.

reply via email to

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