Skip to content
This repository was archived by the owner on Jun 17, 2020. It is now read-only.
This repository was archived by the owner on Jun 17, 2020. It is now read-only.

Optimize string compare #26

@grant-d

Description

@grant-d
  • We already use StringComparer.Ordinal.Compare where applicable, but we could just directly call string.CompareOrdinal directly instead. The first internally calls the second regardless.

  • Array.Sort is faster when using a Comparison<T> than a lambda per CoreClr #8481

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions