3 ms·
> One of the slowest things I found out about C# was floats being objects Floats are value types not objects: https://docs.microsoft.com/en-us/dotnet/csharp/la
by jasonboyd 6y ago
> One of the slowest things I found out about C# was floats being objects
Floats are value types not objects: https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/floating-point-numeric-types https://docs.microsoft.com/en-us/dotnet/csharp/language-refe...
Maybe you we're dealing with floats that had been boxed?
- tpxl 6y agoThey were probably boxed yeah, we were dealing with unity physics stuff and that's what the benchmarks showed.