<s>
LZ4	B-Language
is	O
a	O
lossless	B-Algorithm
data	I-Algorithm
compression	I-Algorithm
algorithm	O
that	O
is	O
focused	O
on	O
compression	O
and	O
decompression	O
speed	O
.	O
</s>
<s>
The	O
LZ4	B-Language
algorithms	O
aims	O
to	O
provide	O
a	O
good	O
trade-off	O
between	O
speed	O
and	O
compression	O
ratio	O
.	O
</s>
<s>
Typically	O
,	O
it	O
has	O
a	O
smaller	O
(	O
i.e.	O
,	O
worse	O
)	O
compression	O
ratio	O
than	O
the	O
similar	O
LZO	B-Language
algorithm	O
,	O
which	O
in	O
turn	O
is	O
worse	O
than	O
algorithms	O
like	O
DEFLATE	B-Algorithm
.	O
</s>
<s>
However	O
,	O
LZ4	B-Language
compression	O
speed	O
is	O
similar	O
to	O
LZO	B-Language
and	O
several	O
times	O
faster	O
than	O
DEFLATE	B-Algorithm
,	O
while	O
decompression	O
speed	O
is	O
significantly	O
faster	O
than	O
LZO	B-Language
.	O
</s>
<s>
LZ4	B-Language
only	O
uses	O
a	O
dictionary-matching	O
stage	O
(	O
LZ77	O
)	O
,	O
and	O
unlike	O
other	O
common	O
compression	B-General_Concept
algorithms	I-General_Concept
does	O
not	O
combine	O
it	O
with	O
an	O
entropy	B-Algorithm
coding	I-Algorithm
stage	O
(	O
e.g.	O
</s>
<s>
Huffman	B-General_Concept
coding	I-General_Concept
in	O
DEFLATE	B-Algorithm
)	O
.	O
</s>
<s>
The	O
LZ4	B-Language
algorithm	O
represents	O
the	O
data	O
as	O
a	O
series	O
of	O
sequences	O
.	O
</s>
<s>
The	O
reference	O
implementation	O
in	O
C	B-Language
by	O
Yann	O
Collet	O
is	O
licensed	O
under	O
a	O
BSD	O
license	O
.	O
</s>
<s>
There	O
are	O
ports	O
and	O
bindings	O
in	O
various	O
languages	O
including	O
Java	B-Language
,	O
C#	B-Application
,	O
Rust	B-Application
,	O
and	O
Python	B-Language
.	O
</s>
<s>
The	O
Apache	B-Application
Hadoop	I-Application
system	O
uses	O
this	O
algorithm	O
for	O
fast	O
compression	O
.	O
</s>
<s>
LZ4	B-Language
was	O
also	O
implemented	O
natively	O
in	O
the	O
Linux	B-Operating_System
kernel	I-Operating_System
3.11	O
.	O
</s>
<s>
The	O
FreeBSD	B-Operating_System
,	O
Illumos	B-Application
,	O
ZFS	B-Application
on	O
Linux	B-Operating_System
,	O
and	O
ZFS-OSX	O
implementations	O
of	O
the	O
ZFS	B-Application
filesystem	O
support	O
the	O
LZ4	B-Language
algorithm	O
for	O
on-the-fly	O
compression	O
.	O
</s>
<s>
Linux	B-Operating_System
supports	O
LZ4	B-Language
for	O
SquashFS	B-Application
since	O
3.19-rc1	O
.	O
</s>
<s>
LZ4	B-Language
is	O
also	O
supported	O
in	O
newer	O
zstd	B-Language
command	O
line	O
utility	O
by	O
Yann	O
Collet	O
.	O
</s>
<s>
LZ4	B-Language
available	O
in	O
extended	O
7zip-Version	O
.	O
</s>
