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

Fix which path is taken in Enumerable.Select for empty partition #88425

Merged
merged 2 commits into from
Jul 6, 2023

Commits on Jul 5, 2023

  1. Fix which path is taken in Enumerable.Select for empty partition

    My recent changes to improve perf of some LINQ iterators by implementing `IList<T>` caused Select on an empty partition to start preferring a path that wasn't optimized for empty.  This fixes it.  I searched and don't see any other operators that would be similarly negatively affected.
    stephentoub committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    339809e View commit details
    Browse the repository at this point in the history
  2. Use is check

    stephentoub committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    6b49596 View commit details
    Browse the repository at this point in the history