Skip to content

Commit 9572c95

Browse files
committed
Update TODO comments to specify research tasks
Clarified TODO comments by marking them as research-related in Decode, ReadAsync, and WriteAsync methods. No functional changes made.
1 parent dd4299b commit 9572c95

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Source/Src/KZDev.PerfUtils/MemoryStream/Internals/SegmentMemoryStreamSlim.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1836,7 +1836,7 @@ public SegmentMemoryStreamSlim (long maximumCapacity, long capacity, in MemorySt
18361836
/// <inheritdoc />
18371837
public override string Decode (Encoding encoding)
18381838
{
1839-
// TODO - Check the current state of the internal buffers and check if we can
1839+
// TODO (Research) - Check the current state of the internal buffers and check if we can
18401840
// decode directly from the buffers rather than copying the data to a new array.
18411841
byte[] bytes = ToArrayInternal(true);
18421842
return encoding.GetString(bytes, 0, bytes.Length);

Source/Src/KZDev.PerfUtils/MemoryStream/MemoryStreamSlim.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,7 +1209,7 @@ public override ValueTask<int> ReadAsync (Memory<byte> buffer, CancellationToken
12091209

12101210
try
12111211
{
1212-
// TODO - Consider getting an array from the buffer before using span.
1212+
// TODO (Research) - Consider getting an array from the buffer before using span.
12131213
return ValueTask.FromResult(Read(buffer.Span));
12141214
}
12151215
catch (Exception ex)
@@ -1294,7 +1294,7 @@ public override ValueTask WriteAsync (ReadOnlyMemory<byte> buffer, CancellationT
12941294

12951295
try
12961296
{
1297-
// TODO - Consider getting an array from the buffer before using span.
1297+
// TODO (Research) - Consider getting an array from the buffer before using span.
12981298
Write(buffer.Span);
12991299
return default;
13001300
}

0 commit comments

Comments
 (0)