diff --git a/csharp/Platform.Collections/BitString.cs b/csharp/Platform.Collections/BitString.cs index 4b0b36ac..1a385d5b 100644 --- a/csharp/Platform.Collections/BitString.cs +++ b/csharp/Platform.Collections/BitString.cs @@ -12,6 +12,12 @@ namespace Platform.Collections { + /// + /// + /// Represents a high-performance bit string with support for vectorized and parallel operations. + /// + /// + /// /// /// А что если хранить карту значений, где каждый бит будет означать присутствует ли блок в 64 бит в массиве значений. /// 64 бита по 0 бит, будут означать отсутствие 64-х блоков по 64 бита. Т.е. упаковка 512 байт в 8 байт. diff --git a/csharp/Platform.Collections/Segments/CharSegment.cs b/csharp/Platform.Collections/Segments/CharSegment.cs index dcc933c4..27c9e29e 100644 --- a/csharp/Platform.Collections/Segments/CharSegment.cs +++ b/csharp/Platform.Collections/Segments/CharSegment.cs @@ -110,6 +110,20 @@ bool contentEqualityComparer(IList left, IList right) /// public override bool Equals(object obj) => obj is Segment charSegment ? Equals(charSegment) : false; + /// + /// + /// Performs an implicit conversion from to . + /// + /// + /// + /// + /// The segment. + /// + /// + /// + /// The result of the conversion. + /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] public static implicit operator string(CharSegment segment) {