G
gonzih
Hello everyone. Today guy named prahal in #ruby on freenode mentioned issue with String#hash on armv9, he also suggested that reverting this https://github.com/ruby/ruby/commit/525cb66467ff22a50f2e6bf307924459d38cd592 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![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
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