powturbo / Turbo-Base64

Turbo Base64 - Fastest Base64 SIMD:SSE/AVX2/AVX512/Neon/Altivec - Faster than memcpy!
GNU General Public License v3.0
280 stars 41 forks source link

Padding is not filled correctly for strings of certain size. #5

Closed alexey-milovidov closed 4 years ago

alexey-milovidov commented 4 years ago

https://github.com/ClickHouse/ClickHouse/issues/9491

powturbo commented 4 years ago

Yeah, the last bytes must be handled separately in the EXTAIL macro and not within the avx2/sse loops. I've now made some changes and it should be fixed now.

alexey-milovidov commented 4 years ago

Thank you! It helps.