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

hash-arg feature #2

Closed
wants to merge 1 commit into from
Closed

hash-arg feature #2

wants to merge 1 commit into from

Conversation

tatsuya6502
Copy link
Member

  • Add the hash-arg feature, which is intended to be used by Moka cache to avoid calculating the same hash repeatedly for a key.
  • Add the following public methods to segment::HashMap for hash-arg feature. (These ones with prefix h_ takes hash: u64 as an additional argument):
    • hash
    • h_get
    • h_get_key_value
    • h_insert_with_modify
    • h_remove
    • h_remove_if

- Bump the version to v0.6.0.
- Add the `hash-arg` feature.
- Add the following public methods to `segment::HashMap` for `hash-arg` feature:
    - `hash`
    - `h_get`
    - `h_get_key_value`
    - `h_insert_with_modify`
    - `h_remove`
    - `h_remove_if`
  (These one with prefix `h_` takes `hash: u64` as an additional argument)
@tatsuya6502
Copy link
Member Author

Closing without merging.

For tighter integration between Moka and moka-cht, we have copied relevant source files from moka-cht to moka repository:

So we do not have to add moka specific feature to moka-cht in this repository.

@tatsuya6502 tatsuya6502 closed this Feb 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant