Need a Faster Compressor
Marco Leise via Digitalmars-d
digitalmars-d at puremagic.com
Sun May 22 07:05:23 PDT 2016
⬅ Download proof of concept
This is a proof of concept micro-benchmark compressing the
37_640 bytes symbol from the bug report linked above with both
id_compress from the dmd backend and lz4 (without dictionary).
The lz4 result is additionally transformed to 7-bits similar
to base-64.
Original size: 37640 bytes
id_compress : 5243 ms for 10_000 iterations, 800 bytes
lz4 : 71 ms for 10_000 iterations, 389 bytes
That roughly corresponds to a 2x higher compression ratio at
70x faster compression speed.
--
Marco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testexpansion.d
Type: text/x-dsrc
Size: 15089 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20160522/ca9e0761/attachment.d>
More information about the Digitalmars-d
mailing list