On Fri, 22 Oct 2010 12:41:52 -0700
Buddy Burden <[email protected]> wrote:

> Also, am I incorrect in believing that _all_ the overhead of
> MX::Declare is in the startup?

It depends on what features you use. If you are a heavy method
signatures user, like me, it indeed will have a run-time performance
hit, but it would have that any way if you validated all of your
parameters by hand via type constraints or using
MooseX::Params::Validate. For me, I'd always prefer correct over fast.
And method signatures provide a much more compact syntax for parameter
validation than using other, more manual methods.

-- 

Nicholas Perez
XMPP/Email: [email protected]
http://search.cpan.org/~nperez/
http://github.com/nperez

Reply via email to