Generics Erasure - CI/CD用語集の定義
ジェネリクスの消去 (type erasure) は、パラメータ化されたコードを一度だけコンパイルし、型検査の後で型引数を取り除いて、バイナリをコンパクトに保ちます。トレードオフは、単相化とは異なり、具体的な型の同一性が runtime で失われることです。
関連ガイド
Monomorphization - CI/CD Glossary DefinitionMonomorphization generates a specialized copy of generic code for each concrete type used, trading larger bin…
Type Inference - CI/CD Glossary DefinitionType inference lets a compiler deduce expression types without explicit annotations, keeping code terse while…
Virtual Method Table - CI/CD Glossary DefinitionA vtable is a per-type table of function pointers the runtime uses to dispatch a polymorphic call to the righ…