Skip to content

Fix Hash#rehash for open addressing#5305

Merged
kares merged 1 commit intojruby:masterfrom
ChrisBr:bug/fix-rehash
Sep 3, 2018
Merged

Fix Hash#rehash for open addressing#5305
kares merged 1 commit intojruby:masterfrom
ChrisBr:bug/fix-rehash

Conversation

@ChrisBr
Copy link
Contributor

@ChrisBr ChrisBr commented Sep 1, 2018

We used the old bins array to get the index instead of the new one.
This caused that the bins array was wrongly calculated if a
collisions occours and eventually did not found keys in the hash
anymore.

Fix #5304

We used the old bins array to get the index instead of the new one.
This caused that the bins array was wrongly calculated if a
collisions occours and eventually did not found keys in the hash
anymore.

Fix jruby#5304
@kares kares merged commit a0d60e6 into jruby:master Sep 3, 2018
@kares kares added this to the JRuby 9.2.1.0 milestone Sep 3, 2018
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