[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#14792: Actually, this discussion is moot
From: |
David Kastrup |
Subject: |
bug#14792: Actually, this discussion is moot |
Date: |
Sat, 27 Jul 2013 23:19:53 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Object properties are implemented via key-weak hash tables and those
only support eq? as hash equality in a reliable way.
I actually can't determine how key-weak hash tables would deal with
immediate Scheme values: will they never get released, or will they get
released immediately?
>From reading the documentation, I'd lean towards guessing the latter (as
for immediate Scheme values, there _never_ is a remaining reference).
That would likely make for some surprises to people, while the other
option would be good for memory leaks.
Either way, numbers seem like a bad idea for use in key-weak hash
tables.
--
David Kastrup
- bug#14792: Error in manual "(guile-2) Object Properties", David Kastrup, 2013/07/04
- bug#14792: Error in manual "(guile-2) Object Properties", Mark H Weaver, 2013/07/05
- bug#14792: Error in manual "(guile-2) Object Properties", Ludovic Courtès, 2013/07/06
- bug#14792: Error in manual "(guile-2) Object Properties", Mark H Weaver, 2013/07/16
- bug#14792: Error in manual "(guile-2) Object Properties", David Kastrup, 2013/07/16
- bug#14792: Error in manual "(guile-2) Object Properties", Mark H Weaver, 2013/07/16
- bug#14792: Error in manual "(guile-2) Object Properties", David Kastrup, 2013/07/16
- bug#14792: Error in manual "(guile-2) Object Properties", Mark H Weaver, 2013/07/16
- bug#14792: Error in manual "(guile-2) Object Properties", David Kastrup, 2013/07/16
- bug#14792: Error in manual "(guile-2) Object Properties", Ludovic Courtès, 2013/07/16
bug#14792: Actually, this discussion is moot,
David Kastrup <=