Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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

by duckyd (Hermit)
on Jan 07, 2009 at 00:49 UTC ( [id://734529]=note: print w/replies, xml ) Need Help??


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

I'd like to second this remark. I'm currently working with a codebase where pulling in Moose (and its dependencies) would be quite a task, so Array::GroupBy requiring it would very likely prevent me from using it.

Replies are listed 'Best First'.
Re^5: RFC: Array::GroupBy (Moose)
by kyle (Abbot) on Jan 07, 2009 at 02:20 UTC

    If you don't mind me asking, what about your environment makes it hard to pull in Moose?

      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

        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
Re^5: RFC: Array::GroupBy (Moose)
by Sartak (Hermit) on Jan 08, 2009 at 17:27 UTC
    At this point, not having Moose would prevent me from writing something like Array::GroupBy.

Log In?
Username:
Password:

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

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

    No recent polls found