From: gabriele renzi Date: 2004-10-13T00:19:35+09:00 Subject: Re: Ruby Directions (was Re: quality of error messages) Alexander Kellett ha scritto: > On Tue, Oct 12, 2004 at 10:23:12PM +0900, Gavin Sinclair wrote: > >>Perhaps there are some uses of strings for which immutability makes >>performance sense, and some uses for which it doesn't. I couldn't be >>bothered thinking about it :) > > > i can't imagine many cases where its less performant in fact. well, given my little usage of java and python, it seem that everywhere you use string composition (even simple sum), they tell you to use a StringBuffer/StringIO or something that is, in fact, a mutable string :)