Program Optimization - General

General

Although the word "optimization" shares the same root as "optimal", it is rare for the process of optimization to produce a truly optimal system. The optimized system will typically only be optimal in one application or for one audience. One might reduce the amount of time that a program takes to perform some task at the price of making it consume more memory. In an application where memory space is at a premium, one might deliberately choose a slower algorithm in order to use less memory. Often there is no "one size fits all" design which works well in all cases, so engineers make trade-offs to optimize the attributes of greatest interest. Additionally, the effort required to make a piece of software completely optimal — incapable of any further improvement — is almost always more than is reasonable for the benefits that would be accrued; so the process of optimization may be halted before a completely optimal solution has been reached. Fortunately, it is often the case that the greatest improvements come early in the process.

Read more about this topic:  Program Optimization

Famous quotes containing the word general:

    The general Mistake among us in the Educating of our Children, is, That in our Daughters we take Care of their Persons and neglect their Minds; in our Sons, we are so intent upon adorning their Minds, that we wholly neglect their Bodies.
    Richard Steele (1672–1729)

    The bond between a man and his profession is similar to that which ties him to his country; it is just as complex, often ambivalent, and in general it is understood completely only when it is broken: by exile or emigration in the case of one’s country, by retirement in the case of a trade or profession.
    Primo Levi (1919–1987)

    We all have known
    Good critics, who have stamped out poet’s hopes;
    Good statesmen, who pulled ruin on the state;
    Good patriots, who, for a theory, risked a cause;
    Good kings, who disembowelled for a tax;
    Good Popes, who brought all good to jeopardy;
    Good Christians, who sat still in easy-chairs;
    And damned the general world for standing up.—
    Now, may the good God pardon all good men!
    Elizabeth Barrett Browning (1806–1861)