Constant Folding - CI/CD用語集の定義
Constant folding は、ビルド時に定数式を計算する(60 * 60 を 3600 に置き換える)コンパイラ最適化であり、プログラムを小さく高速にします。constant propagation と組み合わせれば、分岐全体を除去できます。
関連ガイド
Inlining - CI/CD Glossary DefinitionInlining replaces a function call with the function’s body, removing call overhead and unlocking further opti…
Optimization Level - CI/CD Glossary DefinitionAn optimization level (-O0 to -O3, -Os) tells the compiler how aggressively to optimize, trading compile time…
Escape Analysis - CI/CD Glossary DefinitionEscape analysis determines whether an object outlives its creating function, letting the compiler stack-alloc…