3-way crc32c
authorDave Watson <davejwatson@fb.com>
Wed, 19 Jul 2017 20:47:15 +0000 (13:47 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 19 Jul 2017 20:51:23 +0000 (13:51 -0700)
commit74102328f60e450de7d1dab40d1772f82549fd96
tree472e09b3c668adb2ba651f75d26594b0625985c8
parent98df5db50207ae3548312f42e511b754a7aff20c
3-way crc32c

Summary: Current folly version uses a single crc32c.  crc32c has a latency of 3, so pipelining three in a row makes it nearly 3x faster (for data all in cache).

Reviewed By: yfeldblum

Differential Revision: D5418228

fbshipit-source-id: d3a250e1b4fe1f0bc99b44c660df94cf233aebd6
folly/Checksum.cpp
folly/Makefile.am
folly/detail/Crc32cDetail.cpp [new file with mode: 0644]
folly/test/ChecksumTest.cpp