Add benchmarks for SpookyHashV2 and constify SpookyHashV2::Final
authorGiuseppe Ottaviano <ott@fb.com>
Mon, 14 Sep 2015 21:07:26 +0000 (14:07 -0700)
committerfacebook-github-bot-9 <folly-bot@fb.com>
Mon, 14 Sep 2015 21:20:21 +0000 (14:20 -0700)
commit589b6f75808cccac7d56abed56ed062a31fedb4b
tree06ba98e744c5bac21e2140fbfe1feb6d47da9ffd
parent8fe79ff17abec2d7d254cdfbe2a4c13f954493ad
Add benchmarks for SpookyHashV2 and constify SpookyHashV2::Final

Summary: `Final` is idempotent, no reason for it not to be `const`. Checked with a benchmark that the new version does not affect performance.

Reviewed By: @yfeldblum

Differential Revision: D2397377
folly/SpookyHashV2.cpp
folly/SpookyHashV2.h
folly/test/HashBenchmark.cpp [new file with mode: 0644]