Need a Faster Compressor
Marco Leise via Digitalmars-d
digitalmars-d at puremagic.com
Sun May 22 03:56:29 PDT 2016
Am Sat, 21 May 2016 14:12:15 -0700
schrieb Walter Bright <newshound2 at digitalmars.com>:
> The current one is effective, but slow:
>
> https://github.com/dlang/dmd/blob/master/src/backend/compress.c
>
> Anyone want to make a stab at making it faster? Changing the format is fair
> game, as well as down and dirty assembler if that's what it takes.
>
> So really, how good are you at fast code?
I can write something 2 times more compact and 16 times faster
(in microbenchmarks) for the 10 times nested "testexpansion"
test case from
https://issues.dlang.org/show_bug.cgi?id=15831#c0
using BSD licensed lz4 compression.
Does it have to be C++ code or can it be D code?
--
Marco
More information about the Digitalmars-d
mailing list