dotnet/runtime

Analyzer: Introduce an analyzer to recommend the more efficient string splitting features in .NET 8

Open

#85.487 aperta il 27 apr 2023

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)C# (5445 fork)batch import
api-approvedarea-System.Runtimecode-analyzerhelp wantedpartner-impact

Metriche repository

Star
 (17.886 star)
Metriche merge PR
 (Merge medio 12g 11h) (661 PR mergiate in 30 g)

Descrizione

Introduce a performance-centric analyzer that detects uses of String.Split and recommends the new more efficient string splitting functionality from MemoryExtensions. I'm not sure a fixer can be provided here, it might be too complicated for that. But having an analyzer to point out an obvious place that can get a perf boost is still useful.

Category : Performance Severity : Info

Guida contributor