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:

    ... women can never do efficient and general service in hospitals until their dress is prescribed by laws inexorable as those of the Medes and Persians. Then, that dress should be entirely destitute of steel, starch, whale-bone, flounces, and ornaments of all descriptions; should rest on the shoulders, have a skirt from the waist to the ankle, and a waist which leaves room for breathing.
    Jane Grey Swisshelm (1815–1884)

    [The Republican Party] consists of those who, believing in the doctrine that mankind are capable of governing themselves and hating hereditary power as an insult to the reason and an outrage to the rights of men, are naturally offended at every public measure that does not appeal to the understanding and to the general interest of the community.
    James Madison (1751–1836)

    We have wasted our spirit in the regions of the abstract and general just as the monks let it wither in the world of prayer and contemplation.
    Alexander Herzen (1812–1870)