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

Avoid to calculate the same hash twice in get, insert, invalidate, etc. methods #90

Merged
merged 2 commits into from
Feb 12, 2022

Conversation

tatsuya6502
Copy link
Member

Update crate-internal cht methods to take a hash value of the key so that they do not have to recalculate the hash from the key.

`invalidate`, etc. methods.

Update crate-internal `cht` methods to take a hash value of the key so
that they do not have to recalculate the hash from the key.
@tatsuya6502 tatsuya6502 self-assigned this Feb 12, 2022
@tatsuya6502 tatsuya6502 added the enhancement New feature or request label Feb 12, 2022
@tatsuya6502 tatsuya6502 added this to the v0.8.0 milestone Feb 12, 2022
Copy link
Member Author

@tatsuya6502 tatsuya6502 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merging into better-cht-integration branch.

@tatsuya6502 tatsuya6502 merged commit 90fdf40 into better-cht-integration Feb 12, 2022
@tatsuya6502 tatsuya6502 deleted the avoid-hash-recalc branch February 12, 2022 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant