5 ms·
Choosing the right data structures and algorithms is not premature optimization.
by account42 6y ago
Choosing the right data structures and algorithms is not premature optimization.
- john-shaffer 6y agoI agree if you know, e.g., that the list is going to contain thousands of items or is going to be iterated over in your inner loop. That's not premature optimization, that's just common sense. Hence the qualifier "premature".