URL: <http://savannah.gnu.org/bugs/?22022>
Summary: hashx-set! and -ref Project: Guile Submitted by: gremio Submitted on: Monday 01/14/2008 at 22:40 Category: None Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: Hashing using ones own hash functions does not survive a hash resize. If the assoc function returns #t, a segfault or bus error results. A patch to the test suite demonstrating these and testing a few other things is attached. As an enhancement request, it would be nice for the common case to be able to pass a hash-function argument and assoc to make-hash-table or to have a (make-hashx-table hash assoc [size]), and in either case to remember the hash function so that resize works correctly. Thanks, Grem _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Monday 01/14/2008 at 22:40 Name: hash.test.patch Size: 7kB By: gremio <http://savannah.gnu.org/bugs/download.php?file_id=14801> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?22022> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/