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

贡献者指南