From: ts Date: 2000-12-24T23:10:08+09:00 Subject: [ruby-talk:8036] Re: Basic hash question >>>>> "D" == Dave Thomas writes: D> subclasses of String get treated as if they were strings. When a yes, ruby check TYPE(obj) == T_STRING D> string is used as a hash key, it is copied automatically, so that D> subsequent changes to the string don't affect the hash. copy-on-write, like regexp Guy Decoux