]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
hash: use native appropriately sized hash for word, not native host word size
authorSage Weil <sage@newdream.net>
Tue, 22 Dec 2009 21:26:47 +0000 (13:26 -0800)
committerSage Weil <sage@newdream.net>
Wed, 23 Dec 2009 16:52:18 +0000 (08:52 -0800)
commit4bfa758bf5996757e0f5894ab7a04d82ae016888
tree94ab804a5ce61a61c8c4e438aaf375b2f7efd02a
parente5ff1489d4e37f31d73984f4ac4f29b68c8af3b5
hash: use native appropriately sized hash for word, not native host word size

These shouldn't be used over the wire or on disk, but just in case.

Also, i suspect the 64-bit hash is probably faster than the 32bit one
twice?
src/include/hash.h