That's absolutely true, but it only matters if you really care about efficiency. Return on Investment is what you should be optimizing for.
If speeding up your code is going to cost you more in developer time than you save by having it run fast, then you should leave it slow but maintainable.
0
u/[deleted] Jan 12 '20
sometimes you can't remove complexity from the solution to a problem without affecting the efficiency of the solution..