9 ms·
In other words the correct choice of algorithm and data structure can dramatically simplify a problem and the amount of code and time needed to solve it. It al
by smackay 13y ago
In other words the correct choice of algorithm and data structure can dramatically simplify a problem and the amount of code and time needed to solve it.
It also means that having tools where you can quickly apply different techniques, ahem, composable functions, that you can search for more efficient solutions with a lot less effort. That doesn't solve the smartness problem but it makes it a lot more tractable.
- bouk 13y agoThis is not just because of algorithm and data structure though, it's also very well implemented
- phillmv 13y ago>It also means that having tools where you can quickly apply different techniques, ahem, composable functions The key word there is composable, and not functions.
- dredmorbius 13y agoThe points of discarding data you don't need, not looking at stuff you don't need to look at, and minimizing the processing of the stuff you do look at are also highly valid. I've seen 90% performance boosts in code where access to low-level data formats really wasn't possible. Though at times, using appropriate data structures / methods also helped markedly.