Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@karanabe
Copy link
Contributor

@karanabe karanabe commented Nov 8, 2025

GNU’s tests/basenc/base64.pl revealed that our base64 decoder rejected streams where = appeared before EOF. This change updates the shared base logic to detect padding anywhere in the input, teaches the SIMD decoder to process padded and unpadded segments sequentially, and adds unit coverage for the concatenated cases.

#9127

@github-actions
Copy link

github-actions bot commented Nov 8, 2025

GNU testsuite comparison:

Congrats! The gnu test tests/basenc/base64 is no longer failing!

@codspeed-hq
Copy link

codspeed-hq bot commented Nov 8, 2025

CodSpeed Performance Report

Merging #9194 will improve performances by 3.1%

Comparing karanabe:test/fix-base64 (bc6bd60) with main (c615a0f)

Summary

⚡ 1 improvement
✅ 125 untouched
⏩ 2 skipped1

Benchmarks breakdown

Benchmark BASE HEAD Change
factor_multiple_u128s[18446744073709551616] 331.4 ms 321.5 ms +3.1%

Footnotes

  1. 2 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@github-actions
Copy link

github-actions bot commented Nov 8, 2025

GNU testsuite comparison:

Congrats! The gnu test tests/basenc/base64 is no longer failing!

@sylvestre sylvestre merged commit 92bb655 into uutils:main Nov 8, 2025
122 checks passed
@sylvestre
Copy link
Contributor

well done, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants