4 ms·
At least from the business side of things, code efficiency matters only when it makes a difference in the bottom line. If you can get the solution cranked out i
by insoluble 11y ago
At least from the business side of things, code efficiency matters only when it makes a difference in the bottom line. If you can get the solution cranked out in half (or less) the time by being careless with memory, algorithms, and selection of third-party functions, the result is essentially double (or more) the return on investment. In many cases with routine processing of business data, a programmer would have to try to make a program run noticeably slowly. Put another way, paying a coder is often more expensive than buying and running a faster CPU.
PS: I have written some of my industries' most CPU efficient code on the market, but this is only because it matters in my industries. On the other hand, I have been in situations where efficiency is pretty insignificant, such as when programming an installation procedure that the user runs only when installing or removing the software.