Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: RFC: Array::GroupBy (Moose)

by salva (Canon)
on Jan 08, 2009 at 18:44 UTC ( [id://734978]=note: print w/replies, xml ) Need Help??


in reply to Re^2: RFC: Array::GroupBy (Moose)
in thread RFC: Array::GroupBy

I'll start by saying that I expect Moose to be ubiquitous. If it's not now, it will be.
Moose has a huge loading time that makes it unsuitable for many tasks. On my (somewhat old) computer...
$ time perl -e 'package foo; use Moose' real 0m1.052s user 0m0.880s sys 0m0.044s $ time perl -e 'package foo' real 0m0.008s user 0m0.000s sys 0m0.008s
I see no problem using Moose inside big long lived applications or frameworks like Catalyst and alike. But using it in a generic CPAN module unnecessarily limits where that module can be used.

BTW...

$ time perl -e 'package foo; use Params::Validate' real 0m0.066s user 0m0.028s sys 0m0.008s

Replies are listed 'Best First'.
Re^4: RFC: Array::GroupBy (Moose)
by stvn (Monsignor) on Jan 09, 2009 at 21:38 UTC

    This is actually the problem that Mouse was written to solve, you might want to test that load time on your machine.

    And remember, nothing in life is free and in just about ever computing problem there are tradeoffs. You have to pay something somewhere to get all that Moose provides, we happened to have optimized for runtime over compile time.

    -stvn

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://734978]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (6)
As of 2024-04-19 09:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found