02-23-2025, 10:30 PM
(This post was last modified: 02-23-2025, 10:33 PM by a740g.
Edit Reason: Fixed some typo
)
QB64-PE v4.1 has been released. See the announcement here. And with this release, I’ve decided to retire this library.
The built-in functions, _BASE64ENCODE$ and _BASE64DECODE$ simply decimates the competition. So much so, that it puts the Win32 API CryptBinaryToStringA and CryptStringToBinaryA to shame.
Below are some benchmarks. I've included the benchmark code in libbase64.zip\demos\base64\base64_demi.bas. Find the final zip in the first post. Cheers!
Without C++ optimization:
![[Image: Screenshot-2025-02-24-034528.png]](https://i.ibb.co/qFxgNw0y/Screenshot-2025-02-24-034528.png)
With C++ optimizations:
The built-in functions, _BASE64ENCODE$ and _BASE64DECODE$ simply decimates the competition. So much so, that it puts the Win32 API CryptBinaryToStringA and CryptStringToBinaryA to shame.
Below are some benchmarks. I've included the benchmark code in libbase64.zip\demos\base64\base64_demi.bas. Find the final zip in the first post. Cheers!
Without C++ optimization:
![[Image: Screenshot-2025-02-24-034528.png]](https://i.ibb.co/qFxgNw0y/Screenshot-2025-02-24-034528.png)
With C++ optimizations:
![[Image: Screenshot-2025-02-24-034644.png]](https://i.ibb.co/0V9K34jk/Screenshot-2025-02-24-034644.png)