PHP Developer's Network : Network Member Forums

Class: Huffman Compress



  Search   All class groups   Latest entries   Top 10 charts   Newsletter   Blog   Forums   Help FAQ  
  Login   Register  
Recommend this page to a friend! Trackback URL: http://www.phpclasses.org/trackback/browse/package/1432.html
      Classes of David H.  > 
Huffman Compress
 >  Download  >  Support forum Support forum  >  RSS 1.0 feed RSS 2.0 feed Latest changes  >  Stumble It! Stumble It!  >  Bookmark in del.icio.us Bookmark in del.icio.us  
  Supplied by   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  
  • Supplied by:

  • Picture of David H.
    Name: David H. <e-mail contact>
    Published packages: 1
    Country: France France - PHP jobs in France
    Home page: ???
    Age: 23
    All time rank: 1138
    Week rank: 1736

    Browse this author's classes

  • Groups:

  • Group folder image
    Data compression and file archive manipulation
    View top rated classes
  • Detailed description:

  • This class 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.

    It 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).

    This class will therefore probably find more of a pedagogical purpose more than anything else. That is the context it was written in, anyway.
  • User ratings:

  • Ratings
    Utility
    Consistency
    Documentation
    Examples
    Tests
    Videos
    Overall
    Rank
    All time:
    Sufficient (66.7%)
    Sufficient (75.0%)
    Sufficient (75.0%)
    -
    -
    -
    Not sure (48.3%)
    1195
    Month:
    Not yet rated by the users
  • Applications that use this class:

  • No application links were specified for this class.
    Add link image If you know an application of this package, send a message to the author to add a link here.
  • Files:

  • File Role Description
    Plain text file compress.inc.php Class
    Compression class
    Plain text file compresslib.inc.php Class
    Elements common to Compression and Expansion
    Plain text file customlib.inc.php Aux.
    Personal extra functions (required nonetheless)
    Plain text file expand.inc.php Class
    Expansion class
    Plain text file INSTALL Doc.
    Installation instructions
    Plain text file README Doc.
    Abstract info, License and Terms of Use, Use and Function Reference
    Download all files: huffcompress.tar.gz huffcompress.zip
    NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site   Site map   Statistics   Site tips   Privacy policy   Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2008 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products