3 ms·
Do you have any links to stuff about struct enregistering and guarded devirtualization? I'm familiar with the concepts and have gotten .NET to do the latter int
by kevingadd 5y ago
Do you have any links to stuff about struct enregistering and guarded devirtualization? I'm familiar with the concepts and have gotten .NET to do the latter intermittently but if there's documentation on how to make them happen reliably that'd be great to see.
- DeathArrow 5y agoStructs will be stored in the registers of the CPU if the compiler thinks there is enough space. As for devirtualization: https://www.infoq.com/news/2017/12/Devirtualization/ https://www.infoq.com/news/2017/12/Devirtualization/ https://devblogs.microsoft.com/dotnet/performance-improvements-in-net-6/ https://devblogs.microsoft.com/dotnet/performance-improvemen... - you have to go to the section where he talks about devirtualization.