What is the rationale for making the hash value non-negative? 
>From the various answers/discussions below I can only deduce that there is 
>none.

>From a performance point of view, one should preferably only return values 
>within the fixnum range.

>From an acceptance point of view, the hashtable implementation should expect 
>any exact integer as the return value for the provided hash function.

>From yet another view, one's hash function should be really fast, and need not 
>to have extra constraints placed on it.

Cheers

leppie





_______________________________________________
r6rs-discuss mailing list
[email protected]
http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss

Reply via email to