Bug #4103: String#hash not returning consistent values in different sessions
http://redmine.ruby-lang.org/issues/show/4103

Author: Ryan Ong
Status: Open, Priority: Normal
Category: core, Target version: 1.9.2
ruby -v: ruby 1.9.2p0 (2010-08-18 revision 29036) [i386-darwin10.4.0]

I open one irb session

ruby-1.9.2-p0 > 'test'.hash
 => -658842761 
ruby-1.9.2-p0 > 'test'.hash
 => -658842761 

The second time I open it

ruby-1.9.2-p0 > 'test'.hash
 => 11032433 
ruby-1.9.2-p0 > 'test'.hash
 => 11032433

I have no clue if this is on purpose or not but in 1.8.7 it was consistent across different sessions.


----------------------------------------
http://redmine.ruby-lang.org