>>>>> "M" == Mathieu Bouchard <matju / CAM.ORG> writes:

M> Question, how does Hash computes the hash value of a String? or of any
M> object?

 See the method hash

 Apparently ruby call the method hash for each object, except for T_FIXNUM
 (it return the value) and T_STRING (rb_str_hash)

 In 1.5 rb_str_hash is different than 1.4 (see #ifdef)


Guy Decoux