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

Reduce allocation in OptionsManager #45231

Merged
merged 3 commits into from
Nov 25, 2020

Commits on Nov 25, 2020

  1. Reduce allocation from OptionsCache's concurrent dictionary

    This type is primarily used for getting and rarely mutated after startup; we don't need to pay for lots of lock objects to optimize for mutation.
    stephentoub committed Nov 25, 2020
    Configuration menu
    Copy the full SHA
    a62bfd7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dd0b996 View commit details
    Browse the repository at this point in the history
  3. Update src/libraries/Microsoft.Extensions.Options/src/OptionsCache.cs

    Co-authored-by: David Fowler <davidfowl@gmail.com>
    stephentoub and davidfowl authored Nov 25, 2020
    Configuration menu
    Copy the full SHA
    fb01382 View commit details
    Browse the repository at this point in the history