From: William Djaja Tjokroaminata Date: 2002-10-24T23:23:05+09:00 Subject: Re: Things That Newcomers to Ruby Should Know (10/16/02) Mauricio Fern?ndez wrote: > How many do need several references to the same string from the C side? > If the number is high enough (ie, > a couple of them) doing this would > be pointless :-( > Bah, just have to find another thing to work on :) Hi batsman, I think the point is not *how many* but just if *there exists* some C code that may have more than one references to a Ruby object. Also, are you trying to do this only for the String objects? (i.e., "aStr +=" means "aStr <<" if there is only one reference count to the object referred to by aStr.) Regards, Bill