Skip to content

No hashing used in __contention? #5

Open

Description

@rdb

I am curious why you only grab the lowest 8 bits of the pointer without any hashing in __contention. The vast majority of pointers passed in will be aligned on an 8-byte or 16-byte boundary which surely means that you are only ever using 16 to 32 of the 256 available slots in the optimistic case?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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