Sure, a patch to switch this to yield would be fine.

On Sun, Jan 30, 2011 at 9:00 AM, Ken Collins <k...@metaskills.net> wrote:

>
> It is my understanding that using &block as an argument is both a
> performance hit and not needed. Much of the rails source itself has
> moved to yielding to the block in a method in various ways so that you
> do not have to convert that block to a proc object. Much of my own
> code has started to follow this pattern too.
>
> I am curious if anyone has considered removing all the &block
> arguments to measure the performance? I would be happy to fork and
> work on a patch, but I just wanted to gauge if this topic has come up
> before.
>
>
>  - Thanks!
>   Ken Collins
>
> --
> You received this message because you are subscribed to the Google Groups
> "Haml" group.
> To post to this group, send email to haml@googlegroups.com.
> To unsubscribe from this group, send email to
> haml+unsubscr...@googlegroups.com <haml%2bunsubscr...@googlegroups.com>.
> For more options, visit this group at
> http://groups.google.com/group/haml?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to haml@googlegroups.com.
To unsubscribe from this group, send email to haml+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/haml?hl=en.

Reply via email to