Need a Faster Compressor

Era Scarecrow via Digitalmars-d digitalmars-d at puremagic.com
Sun May 22 02:19:54 PDT 2016


On Sunday, 22 May 2016 at 09:07:07 UTC, Era Scarecrow wrote:
> On Sunday, 22 May 2016 at 08:50:47 UTC, Walter Bright wrote:
>> On 5/21/2016 11:26 PM, Era Scarecrow wrote:
>>> With 1 Million iterations:
>>>
>>> new_compress: TickDuration(311404604)
>>> id_compress   TickDuration(385806589)
>>>
>>>  Approx 20% increase in speed (if i'm reading and did this 
>>> right).
>>
>> It is promising. Need more!
>
> Although based on how things look, the id_compress might 
> perform better with a max window of 255 and max match of 127. 
> I'll give the original one a tweak based on my own findings and 
> see if it turns out true.

Oh noes! Making the tiny change to id_compress and it's faster!!!
Now i can't take over the world!!!

new_compress:        TickDuration(306321939)  21% faster
modified idcompress: TickDuration(269275629)  31% faster




More information about the Digitalmars-d mailing list