Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

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]
erix is always in favour of code-revolutions
[Lady_Aleena]: Well, right now, I"m looking at modules where I put randomness that aren't in my RolePlaying/Random dir, like RolePlaying:: Character:: Alignment that is mostly about random_alignment than expand_alignment.
[erix]: cute

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2017-05-27 20:34 GMT
Find Nodes?
    Voting Booth?