Hi,
In message "[ruby-talk:8051] Re: String#unfreeze"
on 00/12/25, Yasushi Shoji <yashi / yashi.com> writes:
|This came up on -list, too. and, IIRC, you said it'd be possible (or
|easier?) to add #unfreeze if we'd have two freeze, one with
|unfreezable capability and the other with current non-unfreezable
|freeze.
Yes. That's easier way. In that case, unfreezable 'freeze' would be
a hidden feature to implement copy-on-write. But two freeze may
surprise programmers sometimes.
matz.