Re:Performance Matters
by unrealhoang on Monday August 19, 2019 @10:21PM
(#20743347)
Usually, it's more like this:
LO |---*------------------*----*--*-| HI
^ ^ ^ ^
| | | |_root of all evil if premature
| | |_you should be here
| |_you can be here if you don't do stupid things
|_you are here
I'm gonna repost a chart I made previously[0][1].
Tricks like denormalizing your data model ("cache values in multiple places") start somewhere around the "you should be here" point. But in any typical program there's plenty of stuff to be done left of that point, and those things don't make your code more complex or longer. They only require care and willingness from the software vendor.--
[0] - https://news.ycombinator.com/item?id=20389856
[1] - https://news.ycombinator.com/item?id=20520605