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

Combine top hash caching with bucket chaining #48

Merged
merged 1 commit into from
Oct 15, 2022

Conversation

puzpuzpuz
Copy link
Owner

@puzpuzpuz puzpuzpuz commented Oct 15, 2022

Reintroduces bucket chaining, so that the map can cope with poor quality hash functions. This is a required preliminary step for #46.

According to some local testing on my machine, map performance is not affected.

@puzpuzpuz puzpuzpuz self-assigned this Oct 15, 2022
@puzpuzpuz puzpuzpuz force-pushed the reintroduce-bucket-chaining-in-map branch from 42de99a to 64f7b60 Compare October 15, 2022 16:50
@codecov-commenter
Copy link

codecov-commenter commented Oct 15, 2022

Codecov Report

Base: 93.10% // Head: 94.57% // Increases project coverage by +1.47% 🎉

Coverage data is based on head (84c4b68) compared to base (c340e98).
Patch coverage: 97.83% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #48      +/-   ##
==========================================
+ Coverage   93.10%   94.57%   +1.47%     
==========================================
  Files           6        6              
  Lines         725      830     +105     
==========================================
+ Hits          675      785     +110     
+ Misses         40       36       -4     
+ Partials       10        9       -1     
Impacted Files Coverage Δ
mapof.go 92.33% <97.35%> (+1.19%) ⬆️
map.go 94.63% <98.16%> (+2.52%) ⬆️
mpmcqueue.go 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@puzpuzpuz puzpuzpuz force-pushed the reintroduce-bucket-chaining-in-map branch 2 times, most recently from b7f81fc to 10247e9 Compare October 15, 2022 18:10
@puzpuzpuz puzpuzpuz force-pushed the reintroduce-bucket-chaining-in-map branch from 10247e9 to 84c4b68 Compare October 15, 2022 18:26
@puzpuzpuz puzpuzpuz merged commit fb74891 into main Oct 15, 2022
@puzpuzpuz puzpuzpuz deleted the reintroduce-bucket-chaining-in-map branch October 15, 2022 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants