Huffman Compress 1.0
Huffman Compress is intented to perform Huffman static compression on files with a PHP script.
Such compression is essentially useful for reducing the size of texts by about 43% ; it is at its best when working with data containing strong redundancies at the character level -- that is, the opposite of a binary file in which the characters would be spread over the whole ASCII alphabet.
Huffman Compress is questionable whether anyone would want to do such an operation with PHP, when C implementations of much stronger and more versatile algorithms are readily avaible as PHP functions.
The main drawback of this script class is slowness despite processing intensiveness (7 to 8 seconds to compress a 300Kb text, about 25 seconds to expand it back).
Huffman Compress will therefore probably find more of a pedagogical purpose more than anything else. That is the context it was written in, anyway.
More popular Compression
- Zip and File Splitter 1.0 (4 years, 8 months 2 days ago)
- dUnzip2 1.0 (4 years, 8 months 6 days ago)
- Zip Folder 1.0 (4 years, 8 months 5 days ago)
- io_dz 4.0 (4 years, 8 months 4 days ago)
- ZipLib 2 1.0 (4 years, 8 months 1 day ago)
Listing Files

expand.inc.php- 6.6 KB
- 10/05/2005 02:04:52

compress.inc.php- 12.6 KB
- 10/05/2005 02:04:52

customlib.inc.php- 2.1 KB
- 10/05/2005 02:04:52

README- 6.1 KB
- 10/05/2005 02:04:52

compresslib.inc.php- 7.8 KB
- 10/05/2005 02:04:52

INSTALL- 598 Bytes
- 10/05/2005 02:04:52
- FREE MySQL Cloud Database Super Simple, Zero-Management MySQL Cloud DB. Use It FREE!
- Pinterest clone Start your own pin board social network today. Get Pintastic and start your own pinterest clone network.
- MYRE Real Estate Software Professional Real Estate solutions by MYREPHP PROGRAMMING!
