Skip to content

Correction to the documentation of function for HashMap::compute #87

@MathieuDutSik

Description

@MathieuDutSik

One requirement for the function HashMap::compute is that the function are "pure" because they can be called several times.
However, that seems too strong.
Instead, the right condition should be that the function is idempotent, that is returns the same result when called several times.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions