Forum > Third party

Fast Base64 encoding/decoding

(1/4) > >>

mikerabat:
For all who are interesed in a fast Base64 encoding and decoding using AVX instruction:
https://github.com/mikerabat/FastBase64

have fun ;)
and let me know if somethings not working ;)

Okoba:
Faster code is always welcomed!
I tested your project. It is not Lazarus or FPC friendly, it needs clean-up to make it work.
And I am curious, what is the speed in GB?

mika:

--- Quote from: Okoba on May 23, 2023, 12:03:19 pm ---And I am curious, what is the speed in GB?

--- End quote ---
Impressive 2,7 GB/s. 

FCL base64 - encoding 25 times and decoding 50 times slower.

Edit: fixed typo in "FCL"

dsiders:

--- Quote from: mika on May 23, 2023, 05:43:43 pm ---
--- Quote from: Okoba on May 23, 2023, 12:03:19 pm ---And I am curious, what is the speed in GB?

--- End quote ---
Impressive 2,7 GB/s. 

FLC base64 - encoding 25 times and decoding 50 times slower.

--- End quote ---

I am assuming FLC was supposed to be FCL... but still impressive speed.

rvk:

--- Quote from: dsiders on May 23, 2023, 06:50:11 pm ---
--- Quote from: mika on May 23, 2023, 05:43:43 pm ---
--- Quote from: Okoba on May 23, 2023, 12:03:19 pm ---And I am curious, what is the speed in GB?

--- End quote ---
Impressive 2,7 GB/s. 
FLC base64 - encoding 25 times and decoding 50 times slower.

--- End quote ---
I am assuming FLC was supposed to be FCL... but still impressive speed.

--- End quote ---
Probably FPC base64 (as base64 has nothing to do with FCL)  :D

Navigation

[0] Message Index

[#] Next page

Go to full version