Skip to content

Try HW assisted crc32c on amd64/arm7 #27

@rurban

Description

@rurban

It's the fastest hash, and it's pretty good. Every intel 64 bit CPU should have it, and the new arm's also. See https://github.com/rurban/smhasher#smhasher
You just need to probe for it. Best try the one in -lz at first, and if it's the HW assisted one, not the SW, use that. Otherwise the one at https://github.com/rurban/smhasher/blob/master/crc32_hw.c

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions