Precomputation
of common logarithms. In algorithms, precomputation is the act of performing an initial computation before 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 π and e, rather than computing their approximations to the necessary precision at run time. In databases, the term materialization is used to refer to storing the results of a precomputation, such as in a materialized view.
of common logarithms.]] In algorithms, precomputation is the act of performing an initial computation before 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 π and e, rather than computing their approximations to the necessary precision at run time. In databases, the term materialization is used to refer to storing the results of a precomputation, such as in a materialized view.
References
No reference rows published for this article.
Cite this article
MLA
"Precomputation." encyclopegia.org, 2025, https://encyclopegia.org/wiki/precomputation. Accessed 24 November 2026.
Chicago
"Precomputation." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/precomputation.
APA
encyclopegia.org. (2025). Precomputation. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/precomputation
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON