Skip to content

Commit d25489f

Browse files
committed
cleanup
1 parent b771224 commit d25489f

File tree

3 files changed

+0
-18
lines changed

3 files changed

+0
-18
lines changed

benchmark/Benchmark.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,6 @@ public unsafe void RunSSEDecodingBenchmarkUTF16(string[] data, int[] lengths)
299299
for (int i = 0; i < FileContent.Length; i++)
300300
{
301301
string s = FileContent[i];
302-
// char[] base64 = s.ToCharArray();
303302
ReadOnlySpan<char> base64 = s.AsSpan();
304303
byte[] dataoutput = output[i];
305304
int bytesConsumed = 0;

src/Base64SSEUTF8.cs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -965,21 +965,5 @@ private unsafe static OperationStatus InnerDecodeFromBase64SSEUrl(ReadOnlySpan<b
965965

966966
}
967967
}
968-
969-
// Caller is responsible for checking that Ssse3.IsSupported && Popcnt.IsSupported
970-
// public unsafe static OperationStatus DecodeFromBase64SSE(ReadOnlySpan<char> source, Span<byte> dest, out int bytesConsumed, out int bytesWritten, bool isUrl = false)
971-
// {
972-
// bytesConsumed =0; // DEBUG: Dont forget to delete these
973-
// bytesWritten = 0;
974-
// return 0;
975-
// // if (isUrl)
976-
// // {
977-
// // return InnerDecodeFromBase64SSEUrlUTF8(source, dest, out bytesConsumed, out bytesWritten);
978-
// // }
979-
// // else
980-
// // {
981-
// // return InnerDecodeFromBase64SSERegularUTF8(source, dest, out bytesConsumed, out bytesWritten);
982-
// // }
983-
// }
984968
}
985969
}

src/Base64Scalar.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,6 @@ public unsafe static OperationStatus DecodeFromBase64Scalar(ReadOnlySpan<byte> s
207207

208208
public static bool IsValidBase64Index(char b)
209209
{
210-
// Assume d0 to d3 are sized 256, replace with actual valid range if different
211210
return b < 256;
212211
}
213212

0 commit comments

Comments
 (0)