3 ms·
Jon Bentley notes in Programming Pearls that performance is secondary to correctness. I thought he'd included an anecdote about a consultant tasked with solvin
by dredmorbius 3y ago
Jon Bentley notes in Programming Pearls that performance is secondary to correctness.
I thought he'd included an anecdote about a consultant tasked with solving an optimisation problem at an industrial concern who unveils his solution. A complaint is raised: yes, the method finds the correct solution, but it is slower than the old method (which didn't achieve the correct solution).
The consultant, perhaps something of a novice when it came to client relationships communications, responded that if he didn't have to find the correct answer to the problem, he could make his system much faster.
I don't find that in either PP or More Programming Pearls, however. Unfaithful memory.