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:

    We have left undone those things which we ought to have done; and we have done those things which we ought not to have done.
    Morning Prayer, General Confession, Book of Common Prayer (1662)

    No doubt, the short distance to which you can see in the woods, and the general twilight, would at length react on the inhabitants, and make them savages. The lakes also reveal the mountains, and give ample scope and range to our thought.
    Henry David Thoreau (1817–1862)

    The tremendous outflow of intellectuals that formed such a prominent part of the general exodus from Soviet Russia in the first years of the Bolshevist Revolution seems today like the wanderings of some mythical tribe whose bird-signs and moon-signs I now retrieve from the desert dust.
    Vladimir Nabokov (1899–1977)