Generic hashtable causes SEGV

Issue #84 resolved
Takashi Kato repo owner created an issue

When the compare (even and hasher) procedure accepts variable arguments then hashtable may cause SEGV

(import (rnrs))
(define ht (make-hashtable eqv-hash =))
(hashtable-set! ht 0 1)
(hashtable-set! ht 0 1)

This is because hashtable comparison is immatually optimised.

Comments (1)

  1. Log in to comment