3 ms·
> Correctness and simplicity are almost always things you want to focus on over performance Right, it's a balance good developers know how to tread. Obviously
by ehsankia 7y ago
> Correctness and simplicity are almost always things you want to focus on over performance
Right, it's a balance good developers know how to tread. Obviously if you can use a set instead of a list and it's one line change, go for it. But as the meme in OPs post, if you're gonna USE SEGMENT TREES and all, then it better be worth the amount of complexity and time you're putting into it.
Part of what makes a good engineer is being able to quickly tell where it's worth optimizing and where it isn't. Or as the meme says, when nested loop goes BRRRRRR.
- yashap 7y agoYeah agreed with all of that.