Skip to content

Reconcile CompareInfo code duplicates introduced with Span extension methods #26621

@ViktorHofer

Description

@ViktorHofer

With dotnet/coreclr#16467 we added methods for various Span extension methods that we added to MemoryExtensions(.Fast).cs. These methods are mostly just code duplicates of their string counterparts which call into an Interop function that accepts a pointer instead of a string. We should try to reconcile the diverged code paths to avoid duplication of huge code chunks. Described in this comment: https://github.com/dotnet/coreclr/pull/16467/files#r169709853

cc @ahsonkhan @tarekgh

Metadata

Metadata

Labels

area-System.GlobalizationenhancementProduct code improvement that does NOT require public API changes/additionshelp wanted[up-for-grabs] Good issue for external contributorsuntriagedNew issue has not been triaged by the area owner

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions