Is there a javascript port for LZ4HC?

88 views
Skip to first unread message

John Smith

unread,
Nov 25, 2022, 6:04:01 AM11/25/22
to LZ4c

Is there a javascript port for LZ4HC?
I didn't find any.

Yann Collet

unread,
Dec 2, 2022, 7:55:34 PM12/2/22
to LZ4c
None that I know of.

Note that javascript ports are generally focused on the decompression side,
it's suitable to asymmetric scenarios
with compression on server and decompression on client.

Nonetheless, it's quite possible to find LZ4 compressors in javascript.

But, especially if you imply a full rewrite in javascript (as opposed to a binding to the C reference library),
know that the HC variant is a lot more complex (and slower) than the "regular" fast variant,
which substantially reduces chances for such a port to be successfully completed.
Reply all
Reply to author
Forward
0 new messages