in reply to Re: How to efficently pack a string of 63 characters
in thread How to efficently pack a string of 63 characters
OK I tried this and fed the result into IO::Compress::Gzip , in all scenarios this only yeld at most one percent in gain.
I'd say gzip is the best choice here, it compressed between 4% and 24% (worst case) without any prior knowledge. And 19.81% is the optimum for the worst case of total entropy.
I also tried providing extra flags for best compression and minimal head, but the benefit was again only 1% at most.
And this module is in core.
>corelist IO::Compress::Gzip Data for 2021-01-23 IO::Compress::Gzip was first released with perl v5.9.4
I think the decision is a no brainer ...
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to efficently pack a string of 63 characters
by tybalt89 (Monsignor) on Sep 11, 2021 at 15:09 UTC | |
by LanX (Saint) on Sep 11, 2021 at 16:44 UTC |