Need a Faster Compressor
Era Scarecrow via Digitalmars-d
digitalmars-d at puremagic.com
Sat May 21 23:26:46 PDT 2016
On Sunday, 22 May 2016 at 04:35:15 UTC, Era Scarecrow wrote:
> Now I just need to stress test it against some really large
> input and check for failures. Regardless it has a compression
> and decompression functions, along with benchmarking it vs the
> compression algorithm I'm trying to beat.
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).
I won't take this as the final verdict, but it is promising at
least... Need a larger test sample to benchmark both functions
against.
Sample data is
"E.s!(E.s!(E.s!(E.s!(E.s!(int).s(int).Result).s(E.s!(int)." etc
from the bug listing:
https://issues.dlang.org/show_bug.cgi?id=15831#c4
More information about the Digitalmars-d
mailing list