Subject: [ruby-core:58486] Re: Object identity for string hash keys
From: Nobuyoshi Nakada <nobu@ b l g r
Date: Fri, 22 Nov 2013 15:41:41 +0900
References: 584735848058481
In-reply-to: 58481
(13/11/22 13:42), Andrew Vit wrote:
> Will this effectively be fixed in 2.1 since frozen strings will just
> reference the same object?
If the key string has been frozen, it is not copied, in all versions.
--
Nobu Nakada