In 1.8.* it is slower, but in 1.9 it is faster
On 03/02/2009, at 6:16, Phlip <[email protected]> wrote: > > Michael Klishin wrote: > >>> The point was that making &: an operator would let the efficiency >>> start at parse >>> time... >> >> 1.8.7 has it implemented in C, and it looks like it does not change >> much > > Naturally; it would resolve to the same VALUE rb = rb_intern etc. > calls that the > Ruby-coded version used. > > Is it slower than unrolling a block to the complete {|q| q.name } ? > > -- > Phlip > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/merb?hl=en -~----------~----~----~----~------~----~------~--~---
