How we achieved 5X faster pipeline execution by removing closure allocations
Particular Software
SEPTEMBER 27, 2022
Closures can occur anywhere we have lambdas (i.e. Action or Func delegates) being invoked that access state that exists outside the lambda. Starting with.NET 5, we can mark the lambda as static with C# 9. When the input is not static the state must be passed into the lambda somehow. <>9__0_1 ?? .<>9__0_1
Let's personalize your content