Optimization (computer science)

From Citizendium
Revision as of 11:21, 12 April 2007 by imported>Nick Johnson (major mistake; replaced non-halting with halting)
Jump to navigation Jump to search

In computer science, particularly in the study of compilers, an optimization is a transformation of computer programs that, when applied to a computer program P, produces an equivalent program P' which is in some way more optimal (i.e. faster, less memory consumption, etc). More formally, equivalent is defined so that for all halting inputs to P, P' will produce the same outputs.

See Also