Zero-Cost Abstraction - CI/CD用語集の定義
ゼロコスト抽象化とは、compiler がそれを最適化して消し去るため、同等の手書きの低レベルコードと比べて runtime のオーバーヘッドを課さない言語機能です - iterator が緊密なループに落とし込まれるのが典型的な例です。
関連ガイド
Inlining - CI/CD Glossary DefinitionInlining replaces a function call with the function’s body, removing call overhead and unlocking further opti…
Monomorphization - CI/CD Glossary DefinitionMonomorphization generates a specialized copy of generic code for each concrete type used, trading larger bin…
Lifetime - CI/CD Glossary DefinitionA lifetime is the compiler’s notion of how long a reference stays valid, used to prove borrowed data outlives…