Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Enumerable.Empty and Array.Empty #4654

Merged
merged 1 commit into from
Mar 17, 2018

Commits on Mar 17, 2018

  1. Use Enumerable.Empty and Array.Empty

    These return singleton instances, so reduce overall allocations.
    
    Also use `new []` over `new List` in a few places, for lesser allocations.
    drewnoakes committed Mar 17, 2018
    Configuration menu
    Copy the full SHA
    d0bb0b6 View commit details
    Browse the repository at this point in the history