Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wgpu-core] Replace usage of PreHashedMap with FastHashMap #6541

Merged
merged 1 commit into from
Nov 14, 2024

Commits on Nov 14, 2024

  1. [wgpu-core] Replace usage of PreHashedMap with FastHashMap

    PreHashedMap was introduced as a performance optimization. It is,
    however, potentially unsound as it cannot distinguish between keys
    that are not equal yet have the same hash. This patch replaces its
    usage with a simple FastHashMap, which should be good enough. If this
    is found to cause real life performance issues down the line then we
    can figure out a better solution.
    jamienicol committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    de8e682 View commit details
    Browse the repository at this point in the history