#1 Re: mORMot 1 » About ZLib/SynLZ/Snappy/LZ4 » 2016-09-06 04:24:27

ab wrote:

Not so sure.
See http://synopse.info/forum/viewtopic.php?pid=3374#p3374

And forget ZDelphi Zlib unit. Try SynZip.
Or our SynZLibSSE.pas under FPC/Win64 only by now.

Hi ab,
    Through the way https://github.com/atelierw/LZ4Delphi did, i modified https://github.com/Hugie/lz4-delphi, add function LZ4_compressHC(const ASource: Pointer; ADestination: Pointer; AInputSize: Integer): Integer; cdecl; external name '_LZ4_compressHC'; in lz4d.lz4 unit, and it works!
    Here's my testing result: http://www.cnblogs.com/ecofast/p/5844016.html
    I DO love LZ4 HC.

#2 mORMot 1 » About ZLib/SynLZ/Snappy/LZ4 » 2016-09-05 12:25:26

ecofast
Replies: 14

Hello, I did some test using System.ZLib(XE10 Berlin)、SynLZ、Snappy and LZ4, like https://github.com/Hugie/lz4-delphi did.
And the result shows that LZ4 is ABSOLUTELY the WINNER.

It seems that LZ4 HC has a more quick decompress speed and better compress ratio, but I can not find  any edition of Delphi, Could anyone give some help?
Thanks!

Board footer

Powered by FluxBB