From: Brian Candler Date: 2009-07-01T14:57:32+09:00 Subject: Re: Making a random string Robert Klemme wrote: >> s.upcase > > You can probably squeeze out a bit performance especially for large > strings by replacing this with "s.upcase!; s". A very bad idea IMO. Why make your code larger and less readable for the sake of perhaps one microsecond or less? If performance matters on this microscopic scale, you should be writing in C. -- Posted via http://www.ruby-forum.com/.