Add Bob Jenkins's SpookyHash to folly.
authorTudor Bosman <tudorb@fb.com>
Wed, 15 Aug 2012 21:26:31 +0000 (14:26 -0700)
committerTudor Bosman <tudorb@fb.com>
Sun, 26 Aug 2012 18:13:42 +0000 (11:13 -0700)
commitff25e3b55ba9380c0eb2bc2b3c6b6397e2ba663b
tree51f4877d41d536dadfacc70b6c0a2320b1e106b5
parentce15293f7537bb6ac4b0e9925aa1710b89af2e27
Add Bob Jenkins's SpookyHash to folly.

Summary:
http://burtleburtle.net/bob/hash/spooky.html
The code is in the public domain, so republishing it as such is fine.
The code needed modifications (the test was designed to run on Windows
only; removed unhygienic typedefs; moved to folly::hash namespace)

Also updated Makefile.am files.

Test Plan: test added

Reviewed By: soren@fb.com

FB internal diff: D549572
folly/Hash.h
folly/Makefile.am
folly/SpookyHash.cpp [new file with mode: 0644]
folly/SpookyHash.h [new file with mode: 0644]
folly/test/Makefile.am
folly/test/SpookyHashTest.cpp [new file with mode: 0644]