Split OrdinalIgnoreCaseComparer from OrdinalComparer
authorStephen Toub <stoub@microsoft.com>
Thu, 23 Feb 2017 14:28:30 +0000 (09:28 -0500)
committerStephen Toub <stoub@microsoft.com>
Fri, 24 Feb 2017 03:10:24 +0000 (22:10 -0500)
commita15b54477fb9503d2787b751e2c0b25c12becf37
tree543a702f70cb151d587065e3d408a815a28a37ba
parent5957f2dde0f90c2bdaa4f0a83339c87140cc657b
Split OrdinalIgnoreCaseComparer from OrdinalComparer

They're both used very frequently, and we can eliminate the branches on checking _ignoreCase from every operation.
src/mscorlib/src/System/StringComparer.cs