Быстрый код с использованием Linq – Linq выражения могут работать быстрее, чем традиционные циклы.
https://timdeschryver.dev/blog/make-your-csharp-applications-faster-with-linq-joins
#LINQ #for #foreach
https://timdeschryver.dev/blog/make-your-csharp-applications-faster-with-linq-joins
#LINQ #for #foreach
timdeschryver.dev
Make your C# applications faster with LINQ joins
If you don't watch out your C# application might suddenly perform badly. As a solution, we can limit the number of operations with a LINQ Join.
Асинхронная версия Parallel.ForEach – вы ведь ждали ее? Теперь в .NET 6 она есть!
https://devdigest.today/goto/1855
#async #await #net6 #parallel #foreach
https://devdigest.today/goto/1855
#async #await #net6 #parallel #foreach
Greg Bair
Parallel.ForEachAsync Deep Dive
This post is part of the 2021 C# Advent calendar. Check it out for more C# goodness!
Intro This post contains a very technical dive. It is of intermediate complexity, and assumes a basic knowledge of how async/await works.
.NET 6 introduced a small feature…
Intro This post contains a very technical dive. It is of intermediate complexity, and assumes a basic knowledge of how async/await works.
.NET 6 introduced a small feature…
Необычные оптимизации: ref foreach и ref returns
https://devdigest.today/goto/1952
#optimization #ref #foreach #returns
https://devdigest.today/goto/1952
#optimization #ref #foreach #returns
Marcgravell
Unusual optimizations; ref foreach and ref returns
A really interesting feature quietly slipped into C# 7.3 - interesting to me, at least - but which I’ve seen almost no noise about. As I’ve ...