Issue with String#hash on ARM boards.

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 :)
 

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

Members online

No members online now.

Forum statistics

Threads
473,913
Messages
2,570,027
Members
46,421
Latest member
WaylonBran

Latest Threads

Top