News for hackers. Stuff that matters.
Re:The Performance Impact of C++'s `final` Keyword by tombert on Monday April 22, 2024 @04:10PM (#40119418)
Yep, completely agree with you on this. Intuition is often wrong, or at least outdated.

When I'm building stuff I try my best to focus on "correctness", and try to come up with an algorithm/design that will encompass all realistic use cases. If I focus on that, it's relatively easy to go back and convert my `decimal` type to a float64, or even convert an if statement into a switch if it's actually faster.

There are no comments on this comment yet.