in reply to Does eval cause that much of a performance hit?
It appears your reasons are aesthetic, can you elaborate on your reasons?
Should I really be concerned about performance hits?
Maybe. The rule of thumb is if it seems slow, or you need to run it often, try to make it faster.
Does eval REALLY cause that much of a performance issue?
:) Can you quantify REALLY and that much ? eval EXPR is parsed and executed as if it were a little Perl program. So instead of parsing/executing one Perl program, you have one plus X many little ones. 1+X is slower than 1 :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Does eval cause that much of a performance hit?
by sherab (Scribe) on May 06, 2009 at 03:49 UTC | |
by Anonymous Monk on May 06, 2009 at 04:22 UTC |