System.Collections.Immutable by Microsoft

<PackageReference Include="System.Collections.Immutable" Version="9.0.0-preview.5.24306.7" />

.NET API 247,584 bytes

 OrdinalStringFrozenSet_LeftJustifiedSubstring

using System.Collections.Generic; using System.Runtime.CompilerServices; namespace System.Collections.Frozen { [NullableContext(1)] [Nullable(0)] internal sealed class OrdinalStringFrozenSet_LeftJustifiedSubstring : OrdinalStringFrozenSet { internal OrdinalStringFrozenSet_LeftJustifiedSubstring(string[] entries, IEqualityComparer<string> comparer, int minimumLength, int maximumLengthDiff, int hashIndex, int hashCount) : base(entries, comparer, minimumLength, maximumLengthDiff, hashIndex, hashCount) { } private protected override int FindItemIndex(string item) { return base.FindItemIndex(item); } [NullableContext(2)] private protected override bool Equals(string x, string y) { return string.Equals(x, y); } private protected override int GetHashCode(string s) { return Hashing.GetHashCodeOrdinal(s.AsSpan(base.HashIndex, base.HashCount)); } } }