On 4/9/07, Michael Koziarski <[EMAIL PROTECTED]> wrote:
> As for throw/raise.  I'm going to wear my newb hat and say I don't
> really 'get' the difference.  But I certainly like the idea of not
> breaking existing rescue clauses, so throw seems perfect.

Stack trace generation is somewhat expensive. throw doesn't do that,
just unwinds the stack up to the catch.

Alex

--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-core@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to