From: nobu.nokada@... Date: 2004-01-14T15:36:10+09:00 Subject: Re: Converting a string to an array of tokens Hi, At Wed, 14 Jan 2004 00:52:02 +0900, Weirich, James wrote: > Question 2: > > Ben Tilly pointed out (a long time ago) that the "string = > string.post_match" type of statement is enormously inefficient for large > strings because amount of string copying involved. In ruby-talk:89747 Nobu > Nakada indicated that string tails _could_ be shared and use copy-on-write > (COW). In current Ruby, are the strings shared with COW semantics, or was > Nobu just speculating on possible implementations? It has been implemented. -- Nobu Nakada