Dan,
Please consider ZStandard, LZ4 and LZMA2 as compression options. All have friendly licenses. At a minimum, ZStandard is faster and more effective than zlib. LZ4 is the fastest and smallest memory footprint, and LZMA2 will give you the best compression, great for a smart contract that compresses once and decompresses many times.
Having a compression type in the smart contract data structure would at least allow adding new compression types in the future.
We designed it for multiple standards
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
yeah multiple standards is perfect for this system.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
You are very considerate, thanks sir
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Designing it for multiple standards is your best bet!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
ZSTD is a really strong balance of speed+compression.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Very cool.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit