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:

    According to the historian, they escaped as by a miracle all roving bands of Indians, and reached their homes in safety, with their trophies, for which the General Court paid them fifty pounds. The family of Hannah Dustan all assembled alive once more, except the infant whose brains were dashed out against the apple tree, and there have been many who in later time have lived to say that they have eaten of the fruit of that apple tree.
    Henry David Thoreau (1817–1862)

    Anti-Nebraska, Know-Nothings, and general disgust with the powers that be, have carried this county [Hamilton County, Ohio] by between seven and eight thousand majority! How people do hate Catholics, and what a happiness it was to show it in what seemed a lawful and patriotic manner.
    Rutherford Birchard Hayes (1822–1893)

    I have never looked at foreign countries or gone there but with the purpose of getting to know the general human qualities that are spread all over the earth in very different forms, and then to find these qualities again in my own country and to recognize and to further them.
    Johann Wolfgang Von Goethe (1749–1832)