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

Add HashTable::iter_hash, HashTable::iter_hash_mut #549

Merged
merged 3 commits into from
Sep 2, 2024

Commits on Aug 28, 2024

  1. Restore RawTable::iter_hash

    This partially reverts 26ef4a1 so that
    the child commit can expose a safe `iter_hash` in
    `HashTable::iter_hash`.
    the-mikedavis committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    e39e46e View commit details
    Browse the repository at this point in the history
  2. Add HashTable::iter_hash

    This is a safe wrapper around `RawTable::iter_hash`. `iter_hash` can be
    useful for looking up duplicate values in the table. For example you
    might use it to build a "bag" / "multi map" type which blindly inserts
    with `HashTable::insert_unique` and allows lookup of multiple values for
    the same key.
    the-mikedavis committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    f40a539 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8b60594 View commit details
    Browse the repository at this point in the history