Algorithmic Efficiency - Optimization Techniques

Optimization Techniques

The word optimize is normally used in relation to an existing algorithm/computer program (i.e. to improve upon completed code). In this section it is used both in the context of existing programs and also in the design and implementation of new algorithms, thereby avoiding the most common performance pitfalls. It is clearly wasteful to produce a working program—at first using an algorithm that ignores all efficiency issues—only to then have to redesign or rewrite sections of it if found to offer poor performance. Optimization can be broadly categorized into two domains:-

  • Environment specific—that are essentially worthwhile only on certain platforms or particular computer languages
  • General techniques—that apply irrespective of platform

Read more about this topic:  Algorithmic Efficiency

Famous quotes containing the word techniques:

    The techniques of opening conversation are universal. I knew long ago and rediscovered that the best way to attract attention, help, and conversation is to be lost. A man who seeing his mother starving to death on a path kicks her in the stomach to clear the way, will cheerfully devote several hours of his time giving wrong directions to a total stranger who claims to be lost.
    John Steinbeck (1902–1968)