At some point, the compiler is smarter than you are.
- At some point, the compiler is smarter than you are.
- Whether it can do your use case better than you can comes down to "how many other people had this problem before"?[aq]
- The more likely other people have had it, the more likely it's been optimized.
- Not how often you've had this use case before, but the absolute number of how many people over time.
- If it's an area you aren't a world expert in, then it's likely the compiler is smarter than you.