Skip to content

Create a deterministic FxHashMap wrapper #63713

Closed
@bjorn3

Description

@bjorn3

It should not provide iteration support, but only insert/remove/get/get_mut and convertion to a sorted vec. We should then use it where possible

This could prevent accidentially causing hashmap related non determinism in most cases.

Originally posted by @bjorn3 in #58281 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-reproducibilityArea: Reproducible / deterministic buildsC-cleanupCategory: PRs that clean code up or issues documenting cleanup.C-enhancementCategory: An issue proposing an enhancement or a PR with one.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.P-mediumMedium priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions