Skip to content

Structs

Colin Taylor edited this page Sep 17, 2023 · 1 revision

Promotion

Promotion of structs is an optimisation that replaces structs with the fields constituting the struct opening up the possibility of optimising these fields as thought they are normal local variables.

CSharp-80 does not currently do any struct promotion.

Clone this wiki locally