This post comprises infographics showing various loop optimizations that happen in C# (dotnet). I've also tested simple loops in GO and Rust, but they need more tests, and separate posts will be made for these compilers; Go and Rust's tests will be in the bonus section of this article. Warning: Compilers improve with time. Therefore, most graphics will contain the compiler version. Let's start with C# and two of its primary optimizations:Loop CloningLoop HoistingLoop Cloning: Loop cloning is a very ...
Strona głównaInne
Inne 1410 dni, 3 godziny, 24 minuty temu 118 pokaż kod licznika zwiń