Handbook
Glossary
match-length ( i previous bytes -- n )
Vocabulary
compression
.
deflate
.
private
Inputs
i
an
object
previous
an
object
bytes
an
object
Outputs
n
an
object
Definition
USING:
kernel
math
math.order
sequences
;
IN:
compression.deflate.private
::
match-length
( i previous bytes -- n )
0
:>
n! bytes
length
i
-
258
min
:>
limit
[
n limit
<
[
i n
+
bytes
nth
previous n
+
bytes
nth
=
]
[
f
]
if
]
[
n 1
+
n!
]
while
n
;