Skip to content

crc32c: choose function in static initialization#71

Merged
igorcanadi merged 1 commit into
facebook:masterfrom
alberts:crc32
Feb 5, 2014
Merged

crc32c: choose function in static initialization#71
igorcanadi merged 1 commit into
facebook:masterfrom
alberts:crc32

Conversation

@alberts

@alberts alberts commented Feb 5, 2014

Copy link
Copy Markdown
Contributor

crc32c: choose function in static initialization

Before: 4.430 micros/op 225732 ops/sec; 881.8 MB/s (4K per op)
After: 4.125 micros/op 242425 ops/sec; 947.0 MB/s (4K per op)

Before: 4.430 micros/op 225732 ops/sec; 881.8 MB/s (4K per op)
After: 4.125 micros/op 242425 ops/sec; 947.0 MB/s (4K per op)
@dhruba

dhruba commented Feb 5, 2014

Copy link
Copy Markdown
Contributor

But we want to choose on the machine that is running rocksdb vs the machine on which u compile rocksdb

@alberts

alberts commented Feb 5, 2014

Copy link
Copy Markdown
Contributor Author

Static initialization happens when the code executes?

@dhruba

dhruba commented Feb 5, 2014

Copy link
Copy Markdown
Contributor

That's right Albert, so ur patch looks fine

igorcanadi added a commit that referenced this pull request Feb 5, 2014
crc32c: choose function in static initialization
@igorcanadi igorcanadi merged commit 183ba01 into facebook:master Feb 5, 2014
Nazgolze pushed a commit to Nazgolze/rocksdb-1 that referenced this pull request Sep 21, 2021
gz pushed a commit to gz/rocksdb that referenced this pull request Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants