Thursday, April 2, 2009

Optimizing C


Optimizing C

Prologue
Introduction to Optimization
What is optimization anyway? Clearly, we have to know this before we can discuss how and why we should optimize programs.
Definition
Optimization is the art and science of modifying a working computer program so that it makes more efficient use of one or more scarce resources, primarily memory, disk space, or time. This definition has a sometimes overlooked but very important

Algorithms Discussed
Radix40 Data Representation, Lookup Tables1
Deciding Whether to Optimize
Why Optimization Is Necessary
Why Optimization Is Often Neglected
Considering a Hardware Solution
Categories of Optimization
Finding the Critical Resource
A Real-Life Example
Summary

0 comments:

Post a Comment