Content deleted Content added
more precisely |
No edit summary |
||
Line 3:
In [[algorithms]], '''precomputation''' is the act of performing an initial [[computation]] before [[Run time (program lifecycle phase)|run time]] to generate a [[lookup table]] that can be used by an algorithm to avoid repeated computation each time it is executed. Precomputation is often used in algorithms that depend on the results of expensive computations that don't depend on the input of the algorithm. A trivial example of precomputation is the use of [[hardcoded]] mathematical constants, such as [[Pi|π]] and [[E (mathematical constant)|e]], rather than computing their approximations to the necessary precision at run time.
In [[database]]s, the term '''materialization''' is used to refer to storing the results of a precomputation
== Overview ==
Line 55:
* [[Algorithmic efficiency]]
* [[Partial evaluation]]
== References ==
|