From: ts Date: 2008-04-01T17:27:29+09:00 Subject: Re: Why Ruby do not optimize code at all? Marcin Miel��y��ski wrote: > It's not a premature optimisation, just unimplemented yet fallback with > /* TODO: if some === method is overrided */ comment in the source > (insns.def) for opt_case_dispatch specialized instruction (very easy to > accomplish having vm_opt_method_table and ruby_vm_redefined_flag). it's a premature optimisation and even worth, in this case, a bug because it's known, at *compile time*, that the method #=== is defined for Symbol, this mean that this optimisation must not exist for Symbol#=== Guy Decoux