Skip to content

Replace HashHelpers.Combine with HashCode.Combine  #24489

@jcdickinson

Description

@jcdickinson

System.HashCode was recently added in order to make high-quality fast hashing easy. We should replace usage of HashHelpers.Combine, an internal low-quality hash combiner with HashCode.Combine. It should lead to better distribution in dictionaries and the hashing should be nearly as fast.

See: https://github.com/dotnet/coreclr/issues/15508

Metadata

Metadata

Assignees

Labels

area-MetaenhancementProduct code improvement that does NOT require public API changes/additions

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions