Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fast QB64 base64 encoder & decoder
#5
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]

With C++ optimizations:
[Image: Screenshot-2025-02-24-034644.png]
Reply


Messages In This Thread
Fast QB64 base64 encoder & decoder - by a740g - 11-18-2023, 07:26 AM
RE: Fast QB64 base64 encoder & decoder - by Dav - 11-18-2023, 04:35 PM
RE: Fast QB64 base64 encoder & decoder - by a740g - 12-21-2024, 04:43 AM
RE: Fast QB64 base64 encoder & decoder - by a740g - 02-23-2025, 10:30 PM
RE: Fast QB64 base64 encoder & decoder - by Pete - 02-24-2025, 09:00 PM
RE: Fast QB64 base64 encoder & decoder - by a740g - 02-25-2025, 01:36 AM
RE: Fast QB64 base64 encoder & decoder - by Pete - 02-24-2025, 11:11 PM
RE: Fast QB64 base64 encoder & decoder - by a740g - 02-25-2025, 05:06 AM



Users browsing this thread: 1 Guest(s)