Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^2: Nested evals - are they evil?

by cLive ;-) (Prior)
on Jul 31, 2007 at 01:36 UTC ( #629723=note: print w/replies, xml ) Need Help??

in reply to Re: Nested evals - are they evil?
in thread Nested evals - are they evil?

I'm leaving them for now, but since this is a daemon, I think (though have yet to benchmark) that removing the evals will speed things up a little. Or a lot. If a lot, removing them suddenly becomes essential.

I was just wondering right now if philosophically it was better to work towards removing them.


Replies are listed 'Best First'.
Re^3: Nested evals - are they evil?
by perrin (Chancellor) on Jul 31, 2007 at 02:09 UTC
    You think that block evals are a performance penalty? I've never heard that. Have you tested that theory at all?

      No, hence the words, "I think" and "have yet to benchmark" ;-)

      I guess my hunch was wrong on that count. I think it's just that I'm not 100% sure exactly how eval is dealt with that is troubling my psyche. Time for more background reading...

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://629723]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2017-12-17 11:02 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (463 votes). Check out past polls.