mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-25 22:44:05 +00:00
95af128225
Summary: This speeds up CRC computation significantly on hardware that supports it. Enabled via -msse4. Note: the binary won't be usable on older CPUs that don't support the instruction. Test Plan: crc32c_test Reviewers: dhruba Reviewed By: dhruba Differential Revision: https://reviews.facebook.net/D3201
11 lines
245 B
Plaintext
11 lines
245 B
Plaintext
* How to compile using fbcode and jemalloc
|
|
source fbcode.sh
|
|
make
|
|
|
|
* Compiling for CPUs with SSE4 support
|
|
|
|
make OPT='-O2 -DNDEBUG -msse4'
|
|
|
|
This makes CRC computation much faster, but
|
|
binaries won't run on CPUs that don't support it.
|