Overlooked Essentials For Optimizing Code

I've been programming for 35 years now, and I've done a lot of work optimizing programs for speed (an example), and watching others optimize. Two essential techniques are consistently ignored. Nope, it isn't avoiding premature optimization. It isn't replacing bubble sort with quicksort (i.e. algorithmic improvements). It's not what language used, nor is it how good the compiler is. It isn't writing i<<2 instead of i*4.


September 10, 2010
URL:http://www.drdobbs.com/parallel/overlooked-essentials-for-optimizing-cod/228701528

Terms of Service | Privacy Statement | Copyright © 2024 UBM Tech, All rights reserved.