Getting rid of array bound checks using ref-returns and .NET 5

29 wrz 2020 | Blog | Performance | Platform | .net core | memory | IT
Imagine we have a simple class, a wrapper around some array of structs (better data locality etc.): [crayon-5f7816beaae0f566439662/] Now, I would like to have an efficient access to every element. Obviously, a trivial indexer would be inefficient here, as it would return a copy of the given array element (a struct): [crayon-5f7816beaae26940795296/] Luckily, since C# […]

POSTY TEGO AUTORA

Why should you care about .NET GC…?18 maj 2021

Blog | programowanie | performance | garbage collector | .net | IT

.NET quiz – check your level of knowledge about .NET memory management21 kwi 2021

Blog | programowanie | performance | .net | memory management | garbage collector | IT

.NET debugging in a single picture5 mar 2021

Blog | programowanie | performance | debugging | clr | .net | IT

The 8 most missing features in C#1 mar 2021

Blog | programowanie | .net | c# | IT

.NET GC Internals – the Concurrent Mark phase4 lut 2021

Blog | programowanie | performance | .net | garbage collector | IT

TooSlowException

Konrad Kokosa