hash-combine

functionsince v0.0-927Edit
(hash-combine seed hash)

Source code @ clojurescript:src/main/cljs/cljs/core.cljs
(defn hash-combine [seed hash]
  ; a la boost
  (bit-xor seed
    (+ hash 0x9e3779b9
      (bit-shift-left seed 6)
      (bit-shift-right seed 2))))