5 ms·
Making it 'raw fast' is what compilers/JITs are for. You still need to pick the right algorithms, but I've personally been really focusing on elegancy. Mainte
by pquerna 16y ago
Making it 'raw fast' is what compilers/JITs are for.
You still need to pick the right algorithms, but I've personally been really focusing on elegancy. Maintenance and Operation of code is the major costs of software, not writing new stuff -- so when you write new stuff, I believe that decreasing those other costs should be the first priority.
- j_baker 16y agoI think you mean "elegance". ;-) That said, I agree with you. Most of the time, the elegant solution is fast or can be made fast.
- davvid 16y agoI agree completely. A common mistake is thinking that performance can be tacked-on later. Thinking about performance up-front can inform elegant designs. 'git' is a good example of this.
- InclinedPlane 16y agoTargeted performance improvements tend to make specific operations more efficient. Elegant architectures tend to completely eliminate huge swaths of duplicate and unnecessary operations, and so typically have the opportunity for much greater performance improvements.