Skip to content

find_fn vs. update_fn #151

@Jiboxiake

Description

@Jiboxiake

Hello, I am trying to find out the most performant hashmap for my project and I came across yours. I have a small question. I find two functions, one is find_fn and the other is update_fn. I believe the designers want only update_fn to have a function able to modify the entry's contents. However, I'm wondering if my entry stores std::atomic objects. Are updates to those entries allowed in find_fn? Because I feel it will be more performant. �Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions