From: Robert Klemme Date: 2003-07-03T17:47:59+09:00 Subject: Re: Memory behavior of String#dup "Yukihiro Matsumoto" schrieb im Newsbeitrag news:1057166023.426462.7561.nullmailer@picachu.netlab.jp... > Hi, > > In message "Re: Memory behavior of String#dup" > on 03/07/03, "Robert Klemme" writes: > > |> Your suggestion inspired me a new dup-freeze optimization. It'll be > |> available soon on the CVS. Thank you. > | > |You're welcome! Do you mean a specialized dup method that returns self if > |frozen like > > > > Yes. Also this specialized dup returns hidden shared string without > making copy if it is available. Sounds great! Thanks a lot! robert