good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^4: Effeciency of key-only hashby kyle (Abbot) |
on Aug 24, 2008 at 13:05 UTC ( [id://706558]=note: print w/replies, xml ) | Need Help?? |
Any of those executes at well over 300000 per second. How many seconds do you think you'll spend debugging a "failure to use exists"? Is the performance gain worth that? How many times would you have to run this program before the execution time gained exceeds the debugging time lost? How do you value your time versus execution time (note that you're coding in Perl, not C)?
In Section
Seekers of Perl Wisdom
|
|