Product Launch
anonymous
2 points
4 comments
Posted4 months agoActive4 months ago
Show HN: FSP2 Tested on excerpt "Romeo and Juliet" impressive compresion results
text compressionalgorithmdata compression
Discussion (4 comments)
Showing 4 comments
Before we say too much about the performance of your algorithm, encoding/decoding speed and memory use must be considered, especially with very large inputs.
Note that on this particular small sample of text, Zstandard `zstd -13` compresses it to 288 bytes, and with default settings, 292 bytes. Brotli using default settings compresses it to 236 bytes.
Thanks, you’re absolutely right — performance needs to be tested on large inputs with proper speed and memory profiling.
I’ll run FSP on bigger datasets and compare it directly with zstd, brotli, gzip, etc. If needed, I’ll improve the algorithm to reduce overhead and make it scale better.
This was just an early proof-of-concept, but I agree the next step is serious benchmarking.
You've got some stiff competition out there, with companies like Google and Facebook funding development of these algorithms. I think the days of individual coders surpassing the current state of the art are gone. It's in the interest of companies that move huge amounts of data to be as efficient at it as possible.
It's definitely interesting that your method competes with Zip and such though. Keep it up!
4 months ago
Thanks for the inspiration! I realize it’s probably crazy to think my algorithm could ever become universally needed, but I’m not giving up. Even if it doesn’t turn into something as large-scale as I once dreamed, I believe it can still lead to something useful — and the journey itself is worth it.