You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ArgumentNullException.ThrowIfNull can incur boxing when applied to argument of generic type. Tier-1 JIT optimizations are able to optimize this boxing in steady state, but Tier-0 JIT optimization are not. It can result into excessive allocations during startup.
@dotnet/jit-contrib What would it take to augment Tier-0 to avoid boxing in this case?
From @AndyAyersMS: We'd have to mark the method as intrinsic and add new logic to impBoxPatternMatch.