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

improve: use rustc-hash instead of fxhash for more active support #14

Merged
merged 2 commits into from
Jan 25, 2024

Conversation

Ggiggle
Copy link
Contributor

@Ggiggle Ggiggle commented Jan 25, 2024

Motivation

FxHash is a speedy hash algorithm for use within rustc, and it performs great in hashing integer keys where we use it for. We found that rustc-hash is more active than fxhash crate, so we decided to replace fxhash with rustc-hash.

Solution

Replace fxhash with rustc-hash, and judge the usage of fxhash suitable or not, if not, replace it with ahashmap.

@Ggiggle Ggiggle requested review from a team as code owners January 25, 2024 09:18
yukiiiteru
yukiiiteru previously approved these changes Jan 25, 2024
@Ggiggle Ggiggle merged commit b3aa605 into main Jan 25, 2024
10 checks passed
@Ggiggle Ggiggle deleted the improve/remove_fxhash branch January 25, 2024 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants