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

fix maxBucketSize #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zhiqiangxu
Copy link

@zhiqiangxu zhiqiangxu commented Dec 21, 2019

This PR tries to make maxBucketSize more close to (log n) + 1.

i.e, it returns 1 for size 1, returns 2 for size 2,3, returns 3 for size 4,5,6,7 etc.

@codecov-io
Copy link

codecov-io commented Dec 21, 2019

Codecov Report

Merging #41 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #41   +/-   ##
=======================================
  Coverage   85.43%   85.43%           
=======================================
  Files           7        7           
  Lines         728      728           
=======================================
  Hits          622      622           
  Misses         78       78           
  Partials       28       28
Impacted Files Coverage Δ
rank_pairing/rank_pairing_heap.go 83.73% <100%> (ø) ⬆️

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 88e3535...e52c692. Read the comment docs.

@zhiqiangxu zhiqiangxu force-pushed the fix_maxBucketSize branch 2 times, most recently from 8f3b8f3 to d8eade5 Compare December 21, 2019 13:06
@zhiqiangxu
Copy link
Author

@theodesp Could you help verify this PR?

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.

2 participants