Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Performance concerns with countBits #1

@lemire

Description

@lemire

Great work on the port!

In java, the equivalent to countBits gets compiled as an intrinsic and it is crucial for good performance.

Though I have done no benchmarking, I believe that an ASM version of the performance-critical functions is going to be needed, like Will's bitset library:

https://github.com/willf/bitset/blob/master/popcnt_amd64.s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions