Need a Faster Compressor
Stefan Koch via Digitalmars-d
digitalmars-d at puremagic.com
Sun May 22 07:06:52 PDT 2016
On Sunday, 22 May 2016 at 14:05:23 UTC, Marco Leise wrote:
> ⬅ 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.
Please submit a PR.
More information about the Digitalmars-d
mailing list