[ale] Linux kernel
Ben Coleman
oloryn at benshome.net
Fri Nov 17 16:11:55 EST 2023
On 11/17/2023 2:20 PM, Charles Shapiro via Ale wrote:
> Heh. Reminds me of the guy at one of my old gigs who spent several weeks
> of coding and testing to replace all of the simple sequential loop
> searches in a pretty big application with sorts + binary searches. The
> original application took several hours to finish. After his
> optimizations, the new version took about fifteen minutes less time.
> **Always** profile before you optimize!
As the saying goes: "premature optimization is the root of all evil (or
at least most of it) in programming" - Donald Knuth
Ben
--
Ben Coleman oloryn at benshome.net | For the wise man, doing right trumps
http://oloryn.benshome.net/ | looking right. For the fool, looking
Amateur Radio NJ8J | right trumps doing right.
More information about the Ale
mailing list