On 07/07/2015 10:52 AM, Ron Bergin wrote:
Which means that neither approach is perfect.  I still prefer the variable over 
the constant.

I have never done any benchmark tests to see if there is any significant 
performance difference.  Have you?

if you have a lot of debugging code, it can make a significant difference when being compiled. and also not testing that DEBUG boolean at run time can add up to if it those sections get called a lot. that is why these tricks were created to eliminate debugging code at compile time. it all depends on the size of the program, amount of debugging code and desired speed.

uri

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to