4 ms·
Isn’t the point that Record classes will be able to be upgraded to value types easily once Valhalla is done? Or am I missing something
by loukrazy 5y ago
Isn’t the point that Record classes will be able to be upgraded to value types easily once Valhalla is done? Or am I missing something
- The_rationalist 5y agoNo they won't (or maybe they will be able to be speculatively opt-deopt?) Value types above a relatively small size are less efficient than references.
- kasperni 5y agoYes, just add 'primitive' before record in the declaration.