Huffman endoder / decoder

new topic     » topic index » view thread      » older message » newer message

Hi all,

I have submitted a program called Huffit.ex that is an elaboration on the two
programs by Junko Miura called huff.ex and dehuff.ex.  It should be available to
download soon.

My purpose in writing it was to put her two programs into one, and with with a
user interface which allowed file navigation and selection.  The effect is not
only to have compressed files, but to make files unreadable until they are
decoded for whatever privacy concerns the user may have.

Whether life seems without savor if you don't do Huffman compression on a daily
basis or not, it is interesting to see how fast Euphoria is in doing the encoding
and decoding: I tested it on 104 files with a total of 10,678,803 bytes and the
interpreted version did the encoding / decoding in 15 / 11 seconds.  The C
compiled (free) version (which I included in the zip file) did the job in 12 / 8
seconds.  And, though all data is processed in memory, it handled a 38 MB file on
my machine which has 512 MB of memory.

--Quark

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu