Got an idea for enhancing PureBasic? New command(s) you'd like to see?
idle
Always Here
Posts: 5840 Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand
Post
by idle » Tue Jul 30, 2024 11:52 pm
This might be useful as a compressor plug in
https://github.com/lz4/lz4
memcpy 1.000 13700 MB/s 13700 MB/s
LZ4 default (v1.9.0) 2.101 780 MB/s 4970 MB/s
LZO 2.09 2.108 670 MB/s 860 MB/s
QuickLZ 1.5.0 2.238 575 MB/s 780 MB/s
Snappy 1.1.4 2.091 565 MB/s 1950 MB/s
Zstandard 1.4.0 -1 2.883 515 MB/s 1380 MB/s
LZF v3.6 2.073 415 MB/s 910 MB/s
zlib deflate 1.2.11 -1 2.730 100 MB/s 415 MB/s
LZ4 HC -9 (v1.9.0) 2.721 41 MB/s 4900 MB/s
zlib deflate 1.2.11 -6 3.099 36 MB/s 445 MB/s
Thorium
Addict
Posts: 1305 Joined: Sat Aug 15, 2009 6:59 pm
Post
by Thorium » Thu Aug 01, 2024 8:42 am
Yeah it would be.
Lately i am looking into compression libraries and it's a pretty deep rabbit hole.
There are amazing ones for many different cases of data and trade offs.