VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Huffman Compression for MS Access

Chad M. Kovac  (4 Submissions)   Encryption   Visual Basic 3.0   Advanced   Wed 3rd February 2021

Uses Fredrik Qvarfort's Huffman Encoding/Decoding Class in an MS Access database as a module.

Assumes
Encoding Time: Inputfile: 3,114,776 Outputfile: 1,781,030 (57%) Time: 16.92 seconds Decoding (same file) Time: 15.60 seconds Scond File (small text file) Encoding: Inputfile: 18548 Outputfile: 11608 Time: .121 seconds Decoded file: .119 seconds Using an MS Access .MDE database: File 1: Encoded: 15.362 Seconds Decoded: 13.719 Seconds File 2: Encoded: .11 Seconds Decoded: .009 Seconds So performance is improved a bit using the .MDE file rather than the .MDB file. I have not attempted to create a .DLL or Class object and link to it or reference to it from MS Access yet. I would think a .DLL would be even faster - however, still not attaining the speeds of a pure VB compiled class. The test machine is a PIII 700 with 512 Megs of Ram running Windows 2000 SP2.

Rate Huffman Compression for MS Access (4(4 Vote))
Huffman Compression for MS Access.bas

Huffman Compression for MS Access Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters