Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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

by jplindstrom (Monsignor)
on Jan 08, 2009 at 19:29 UTC ( #734990=note: print w/ replies, xml ) Need Help??


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

Moose is quite fast at runtime, but quite slow at startup time.

So it's great for mod_perl and other persistent environments but not at all great for CGI and other launch-perl-for-short-invocations environments.

/J


Comment on Re^6: RFC: Array::GroupBy (Moose)
Re^7: RFC: Array::GroupBy (Moose)
by stvn (Monsignor) on Jan 09, 2009 at 21:49 UTC

    We are actually continually trying to improve that startup time, so it is a problem that is actively being worked on. If you were to look over the changelog you would see that over the course of last year we had several significant speed boosts in this particular area (Devel::NYTProf++ and $_++ foreach BestPractical->employees for providing lots of good profile reports).

    In the meantime, I would suggest Mouse for your launch-perl-for-short-invocations problems.

    For CGI, I personally think it is antiquated and as I have said before, there are much more interesting problems to solve then optimizing code for use under vanilla CGI. IMO if your problem is small enough that CGI is the only option you have then you probably wont benefit much from Moose anyway and should really probably take a look at PHP (yuk, did I just say that,.. /me goes to wash his mouth out with soap).

    -stvn

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2014-12-29 05:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (184 votes), past polls