• V
    Use Array.Empty when calling into well known helpers that do not care. · 6153d9f6
    vsadov 提交于
    Typical example is Linq.Expressions APIs which do not persist arrays (since they are mutable) and therefore do not care at all if empty arrays are reused or reallocated.
    Passing empty arrays to such APIs is fairly common case and using Array.Empty if available would reduce allocations.
    
    Fixes #6759
    6153d9f6
ExpressionLambdaRewriter.cs 49.3 KB