in reply to CPU cycles DO NOT MATTER!
CPUs double in speed every 18 months while the cost drops by half (Moore's Law).
Moore's Law actually states that the number of transistors on a chip doubles every 18 months, not the execution speed.
I agree that most micro optimizations are moot, but when it comes to choose an efficient algorithm you can really shoot yourself in the foot by choosing a slow one. You might not notice that when you test it with only 1k test data, but you will when that big database rolls over your script ;-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: CPU cycles DO NOT MATTER!
by Limbic~Region (Chancellor) on Apr 17, 2008 at 14:13 UTC | |
by mr_mischief (Monsignor) on Apr 17, 2008 at 16:49 UTC | |
by moritz (Cardinal) on Apr 17, 2008 at 16:57 UTC | |
by mr_mischief (Monsignor) on Apr 17, 2008 at 17:28 UTC | |
|
Re^2: CPU cycles DO NOT MATTER!
by Gavin (Archbishop) on Apr 17, 2008 at 21:19 UTC | |
|
Re^2: CPU cycles DO NOT MATTER!
by dragonchild (Archbishop) on Apr 17, 2008 at 14:40 UTC | |
by moritz (Cardinal) on Apr 17, 2008 at 15:19 UTC | |
|