[ale] Linux kernel

Steve Litt slitt at troubleshooters.com
Fri Nov 17 20:04:26 EST 2023


Charles Shapiro via Ale said on Fri, 17 Nov 2023 14:20:13 -0500

>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!

Well wait. If the original took 15:03 and the the new one took 15
minutes less, then the new one took 3 seconds, which is an astonishing
advantage. How long did the original take?

SteveT

Steve Litt 

Autumn 2023 featured book: Rapid Learning for the 21st Century
http://www.troubleshooters.com/rl21


More information about the Ale mailing list