Issue with String#hash on ARM boards.



Hello everyone. Today guy named prahal in #ruby on freenode mentioned issue with String#hash on armv9, he also suggested that reverting this will fix issue.

I tested provided example on beaglebone and rapsberrypi and can confirm that issue exists.

Beaglebone was running 1.9.3p0, Pi was running 2.0.0p247.

here is example for testing:

ruby -e 'puts "discoverer".hash == "sub-setter".hash'

Will print true, but should be false.

Is there anyone here can test it on different board/ruby version and confirm that it is affected?

Thanks and may Ruby be with you :)


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question