Need a Faster Compressor

Lionello Lunesu via Digitalmars-d digitalmars-d at puremagic.com
Sat May 21 21:36:32 PDT 2016


On 22/5/2016 05:51, Stefan Koch wrote:
> On Saturday, 21 May 2016 at 21:12:15 UTC, Walter Bright wrote:
>> 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?
>
> Is LZ4 acceptable ?
> If so the current C implementation is hard to beat.
> And maybe it's best to just copy it in.

Agree. I've had the best results with LZ4. We can either link to the C 
code, or port it to D. It's very trivial.

L.


More information about the Digitalmars-d mailing list