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:

    Towards him they bend
    With awful reverence prone; and as a God
    Extoll him equal to the highest in Heav’n:
    Nor fail’d they to express how much they prais’d,
    That for the general safety he despis’d
    His own: for neither do the Spirits damn’d
    Loose all thir vertue; lest bad men should boast
    Thir specious deeds on earth, which glory excites,
    Or close ambition varnisht o’er with zeal.
    John Milton (1608–1674)

    To have in general but little feeling, seems to be the only security against feeling too much on any particular occasion.
    George Eliot [Mary Ann (or Marian)

    General jackdaw culture, very little more than a collection of charming miscomprehensions, untargeted enthusiasms, and a general habit of skimming.
    William Bolitho (1890–1930)