Skip to content

Improve performance by using sealed classes  #15110

@iSazonov

Description

@iSazonov

Inspired by dotnet/runtime#49944

  • We could think about getting rid of InternalsVisibleTo attributes (specially in SMA).
  • We could make (all) private classes sealed.
  • We could make (all) internal classes sealed.

This can be especially important if we use PGO for optimizing startup scenarios.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Code Cleanupthe issue is for cleaning up the code with no impact on functionalityWG-Engine-Performancecore PowerShell engine, interpreter, and runtime performance

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions