Skip to content

Search for opportunities to use Dictionary.Remove while enumerating without defensive copy #18598

@roji

Description

@roji

.NET Core 3.0 added the possibility to safely remove entries from Dictionary while enumerating (dotnet/coreclr#18854). We may have places where we copy defensively because this scenario was not previously supported - we may be able to remove these copies for better perf.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions