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

Bucket size of zero is not valid. For bucketless, use small. #5413

merged 2 commits into from Nov 5, 2018


None yet
1 participant
Copy link

headius commented Nov 5, 2018

This implementation supplied 0 for buckets which causes the older RubyHash impl to crash when resizing. I believe what was intended was to use a smallest-possible Hash and slowly fill it, so I modified the logic to use the small hash paths.

@headius headius added this to the JRuby milestone Nov 5, 2018

@headius headius merged commit d4e5bb6 into jruby:master Nov 5, 2018

1 check was pending

continuous-integration/travis-ci/pr The Travis CI build is in progress

@headius headius deleted the headius:fix_to_h branch Nov 5, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.