Y
Hacker News
new
|
ask
|
show
|
jobs
by
loukrazy
1867 days 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
2 comments
The_rationalist
1867 days ago
No 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.
link
kasperni
1867 days ago
Yes, just add 'primitive' before record in the declaration.
link