Huffman coding: Difference between revisions

Content added Content deleted
m (→‎{{header|Wren}}: Minor tidy)
Line 7,522: Line 7,522:
{{libheader|Wren-queue}}
{{libheader|Wren-queue}}
Note that the results differ from Java because the PriorityQueue implementation is not the same.
Note that the results differ from Java because the PriorityQueue implementation is not the same.
<syntaxhighlight lang="ecmascript">import "/queue" for PriorityQueue
<syntaxhighlight lang="wren">import "./queue" for PriorityQueue


class HuffmanTree {
class HuffmanTree {