The One Billion Row Challenge – .NET Edition
github.com
github.com
> Extending short => int is more expensive than short => ushort => uint => int
Can you explain why
[1] https://sharplab.io/#v2:C4LghgzgtgPgAgJgIwFgBQcDMACR2DC2A3ut...
EDIT: Ah, the other reply notes that this is likely only visible in a method that also does calculations and thus keeps those values in registers.
This was a frequent issue each time I tried using something from .NET ecosystem on Linux.
[0] https://github.com/buybackoff/1brc/blob/main/1brc/App.cs#L12...