dotnet/runtime

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

Open

#85,487 建立於 2023年4月27日

在 GitHub 查看
 (3 留言) (0 反應) (0 負責人)C# (5,445 fork)batch import
api-approvedarea-System.Runtimecode-analyzerhelp wantedpartner-impact

倉庫指標

Star
 (17,886 star)
PR 合併指標
 (平均合併 12天 11小時) (30 天內合併 661 個 PR)

描述

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

貢獻者指南