4 ms·
It's not that easy to see efficiency from the source code even in a low level language like C. It shouldn't really be the job of the programmer to see from the
by rapala 14y ago
It's not that easy to see efficiency from the source code even in a low level language like C. It shouldn't really be the job of the programmer to see from the source code if stuff gets efficiently executed. Profilers are for that, and if you really wan't to know what gets executed, you can always read the generated assembly. Code should express the intention, not the implementation of the execution. That is what high level languages are for.
- jeffdavis 14y agoIn SQL, you don't even specify the algorithm, the cost-based optimizer chooses the algorithm for you (that is, if it's a good SQL implementation).