From: Robert Klemme Date: 2007-08-09T15:30:53+09:00 Subject: Re: non-constant strings 2007/8/8, dohzya : > Le mercredi 08 ao�t 2007 � 23:04 +0900, Robert Klemme a �crit : > > 2007/8/8, Kaldrenon : > > Just to make it clear: this is not unfreezing - it will just create a > > new instance that is not frozen so the original is still safe. > > see by your eyes : I am not sure what you are trying to insinuate. Your code just stresses my point: there is a difference between the imaginary "a.unfreeze" and "a = a.dup" because in the first example there is just one instance involved while in the second there are two. Any piece of code that holds on to the original will still have a reference to the original with the dup approach. Both approaches are *not* equivalent, which might seem like a subtlety to some - but it is a crucial point to remember. Kind regards robert