Good point; what about this?
Lots debug() calls inside a long-running loop, inside many very frequently called subs, running in a virtual server program (with access to only 10% of the CPU), running on a commodity server (Pentium-III 1.3 Ghz), being accessed by many simultaneous clients.
That's a lot different than the Benchmark I just ran on a Athlon64 X2 2.4ghz.
Besides, what about the enjoyment of knowing that there is *no* debugging code in your program?
--Dan
In reply to Re^4: Optimize debugging subs
by danb
in thread Optimize debugging subs
by danb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |