Building a variable length code Huffman Tree in LiveCode

Alejandro Tejada capellan2000 at
Mon Nov 20 10:35:00 EST 2017

Hi All,

Which methods could I use in Livecode,
to build a Huffman tree?

The idea of building a tree with nodes, leafs
suggest to use an xml file for this task, but
all examples that I have read uses a different
method with data structures that probably
are not available in LiveCode.

Another idea that I am considering is
using fixed length codewords:
and assign the codewords using a sorted
list of most frequent character.

Which methods could you use in Livecode,
to build a Huffman tree?

Thanks in  advance!


More information about the use-livecode mailing list