3 ms·
the original premature optimization text posited scenarios where complicated algorithmic patterns were implemented (that took a significant amount of developmen
by bryanrasmussen 7y ago
the original premature optimization text posited scenarios where complicated algorithmic patterns were implemented (that took a significant amount of development time) before it was found out whether they were needed or not.
I think this is more
Obvious and simple optimizations are beneficial.
I feel in the case of this optimization it also improves the code by making it more clear what is wanted.
I think that is likely often the case with simple optimizations.