Em 20-12-2011 10:59, Steve Klabnik escreveu:
raise-rescue is intended for exception handling, while catch-throw is
intended for regular control flow in Ruby.
Right. There's a reason you don't see it often in Ruby code bases.
It's slow, hard to understand, and just generally a bad idea.
Let me know if you find any performance impact on this application:
https://github.com/rosenfeld/ctbenchmark
--
You received this message because you are subscribed to the Google Groups "Ruby on
Rails: Core" 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/rubyonrails-core?hl=en.