Parents: | compression.huffman |
Class | Superclass | Slots |
huffman-code | tuple | value size code |
huffman-tree | tuple | code left right |
leaf-table |
node-heap |
Word | Stack effect |
(canonize-codes) | ( current codes -- codes ) |
(generate-codes) | ( huff-tree -- code-dict ) |
<==> | ( b1 b2 -- <=> ) |
<huffman-code> | ( -- huffman-code ) |
<huffman-internal> | ( left right -- huffman-tree ) |
<huffman-tree> | ( code left right -- huffman-tree ) |
all-patterns | ( huffman-code n -- seq ) |
build-leaf-table | ( leaves -- ) |
build-tree | ( lit-seq -- heap ) |
canonize-codes | ( codes -- codes ) |
combine-two | ( -- ) |
gen-leaves | ( lit-seq -- leaves ) |
generate-codes | ( lit-seq -- code-dict ) |
get-next-code | ( code current -- next ) |
huffman-each | ( ... tdesc quot: ( ... huffman-code -- ... ) -- ... ) |
insert-leaves | ( -- ) |
leaf? | ( huff-tree -- ? ) |
length-limit-codes | ( max-len old-codes -- new-codes ) |
next-code | ( huffman-code -- ) |
next-size | ( huffman-code -- ) |
reverse-table | ( tdesc n -- rtable ) |
sort-values! | ( obj -- sortedseq ) |
update-reverse-table | ( huffman-code n table -- ) |
Word | Stack effect |
huffman-code? | ( object -- ? ) |
huffman-tree? | ( object -- ? ) |