Re:Lizard – efficient compression with fast decompression
by dataangel on Wednesday May 25, 2022 @11:09AM
(#31505669)
if it's faster for both compression and decompression it just seems better period? why do you say "if we mostly don't care about CPU usage"? being faster means less CPU usage...
[ Parent
| on HN ]
Re:Lizard – efficient compression with fast decompression
by kordlessagain on Wednesday May 25, 2022 @02:54PM
(#31508921)
Faster/slower aside, it doesn't matter if it is slower to compress, because you only do that once for most use cases (thinking of downloadable repos or document stores). Decompression happens much more frequently. So, one compression algo that takes a lot of work (and time) to compress but uncompresses with less work than anything else is desirable because of the fact you only need compress once. So, less compute is required.
There could be some use cases where this doesn't work out, such as a compressed network connection, where everything has to be compressed/decompressed in a 1:1 ratio.
Re:Lizard – efficient compression with fast decompression
by deepsun on Wednesday May 25, 2022 @11:14AM
(#31505731)
I said it's significantly _slower_, not faster, for compression.
Re:Lizard – efficient compression with fast decompression
by metadat on Wednesday May 25, 2022 @12:41PM
(#31506973)
Minor nit: I too was confused by the wording:
"compression speed is lower"
To me this reads as though it's faster. Maybe you meant "compression speed is Slower"?
Disclaimer: I generally dislike being pedantic, especially on HN. I hope this message doesn't come across that way.