Base64 icon indicating copy to clipboard operation
Base64 copied to clipboard

Base64 encoding / decoding with SIMD-support, also base64Url

Results 5 Base64 issues
Sort by recently updated
recently updated
newest added

E.g. from run https://dev.azure.com/gh-gfoidl/github-Projects/_build/results?buildId=902&view=results ``` ini BenchmarkDotNet=v0.12.0, OS=Windows 10.0.17763.1039 (1809/October2018Update/Redstone5), VM=Hyper-V Intel Xeon CPU E5-2673 v3 2.40GHz, 1 CPU, 2 logical and 2 physical cores [Host] : .NET Framework 4.8...

benchmarks

https://github.com/dotnet/runtime/issues/11524 got fixed, so `Unsafe.WriteUnaligned` can be used (for correctness). E.g. https://github.com/gfoidl/Base64/blob/90470c28bdd511de23e6d5f3a901b42346e7af17/source/gfoidl.Base64/Internal/Vector256Helper.cs#L70-L75 Search for: https://github.com/dotnet/coreclr/issues/21132

code-quality / tests

For context see https://github.com/gfoidl/Base64/pull/124#issuecomment-601486041 Due to JIT limits (too many locals) the avx-codepath won't inline. Thus the change got [reverted] (https://github.com/gfoidl/Base64/pull/124#issuecomment-601877657). Recheck later if JIT improved, so this method can...

simd
perf

ci-pipeline
help-wanted

https://learn.microsoft.com/en-us/dotnet/api/system.runtime.intrinsics.x86.avx512vbmi?view=net-9.0 If .Net Version > Net 8.0 Add AVX512Support It seems that we only need to add Vector512Decode in class Base64Impl, check if maxSrcLength is greater than or equal to...