System.Collections.Immutable by Microsoft

<PackageReference Include="System.Collections.Immutable" Version="8.0.0-preview.5.23280.8" />

.NET API 253,560 bytes

 OrdinalStringFrozenSet_RightJustifiedSingleChar

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