add thomas wang's integer hash function; use it for hashq, hashv
authorAndy Wingo <wingo@pobox.com>
Tue, 25 Oct 2011 22:37:24 +0000 (00:37 +0200)
committerAndy Wingo <wingo@pobox.com>
Tue, 25 Oct 2011 22:37:24 +0000 (00:37 +0200)
commit71f89dd7e9e62407140d6e43dc15490705df98e3
treef45f83d8584df291009bdf81250f0eeb2ed5c456
parent7914b2b0690ecd65c89a80e2451f44f0e0d64940
add thomas wang's integer hash function; use it for hashq, hashv

* libguile/hash.c (scm_raw_ihashq): Add Thomas Wang's integer hash
  function, from http://www.cris.com/~Ttwang/tech/inthash.htm.
  (scm_ihashq, scm_ihashv): Use it here.
libguile/hash.c