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 simplified key hasher #3

Merged
merged 3 commits into from May 6, 2022
Merged

Add simplified key hasher #3

merged 3 commits into from May 6, 2022

Conversation

mberr
Copy link
Owner

@mberr mberr commented May 6, 2022

This PR adds a simplification for creating hashers based on the values associated to a subse of keys without having to define a lambda or named function.

@codecov-commenter
Copy link

codecov-commenter commented May 6, 2022

Codecov Report

Merging #3 (a86487b) into main (7604483) will increase coverage by 2.57%.
The diff coverage is 88.88%.

@@            Coverage Diff             @@
##             main       #3      +/-   ##
==========================================
+ Coverage   47.42%   50.00%   +2.57%     
==========================================
  Files           3        3              
  Lines          97      104       +7     
  Branches       16       19       +3     
==========================================
+ Hits           46       52       +6     
  Misses         42       42              
- Partials        9       10       +1     
Impacted Files Coverage Δ
src/torch_max_mem/version.py 0.00% <ø> (ø)
src/torch_max_mem/api.py 56.32% <88.88%> (+2.57%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7604483...a86487b. Read the comment docs.

@mberr mberr merged commit 4879f7d into main May 6, 2022
@mberr mberr deleted the ad-hoc-hasher branch May 6, 2022 16:34
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.

None yet

2 participants