Hi,

(12/04/09 22:46), rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> Also, while on the subject, don't you think that Ruby specs should
> state that ("some " + "string") would concatenate the strings in
> compiling time and that they shouldn't expect the :+ method to be
> called? That way we wouldn't have any perfomance degradation using
> this style...

It can't, because String#+ might be overridden.

-- 
Nobu Nakada