Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Implement hash cache to fix #5280 #5289
I beg to differ about the CI, because ruby/spec seem to get stuck after this change, see https://travis-ci.org/jruby/jruby/builds/419737258?utm_source=github_status&utm_medium=notification
Reverting this PR with:
Allows those specs to pass.
@eregon I can not reproduce with
on current master...
But as this is related to Set, I could imagine that it might be related to
as if the hash gets initialized with a non pow of two size, the secondary hash function is not a generator and therefore could end in an infinite loop. It could never reproduce this but it could be theoretically possible.
Could you please try to reproduce with this PR: #5278 ?