![]() |
|
Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^7: CPU cycles DO NOT MATTER!by Joost (Canon) |
on Apr 19, 2008 at 22:47 UTC ( [id://681721]=note: print w/replies, xml ) | Need Help?? |
...optimizing for CPU cycles in a language running in a 10-year old VM is rather silly.Depends on how you're optimizing, of course. It looks to me like you're mainly railing against all those useless micro-optimizations (like using map EXP, vs MAP { EXP }). But just choosing a sane algorithm for the job can easily reduce the time to run by many orders of magnitude, even if the algorithm is purely CPU bound. In that case, and if the dataset is large enough, CPU cycles obviously DO matter.
In Section
Meditations
|
|