home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / question / 13263 < prev    next >
Encoding:
Internet Message Format  |  1992-11-11  |  808 b 

  1. Path: sparky!uunet!destroyer!gumby!wupost!zaphod.mps.ohio-state.edu!not-for-mail
  2. From: ren@function.mps.ohio-state.edu (Liming Ren)
  3. Newsgroups: comp.unix.questions
  4. Subject: How does compress adap to the file size?
  5. Date: 11 Nov 1992 21:36:30 -0500
  6. Organization: Department of Mathematics, The Ohio State University
  7. Lines: 11
  8. Distribution: world
  9. Message-ID: <1dsfveINNe7q@function.mps.ohio-state.edu>
  10. NNTP-Posting-Host: function.mps.ohio-state.edu
  11.  
  12. The  man page of (UNIX) compress says
  13.  
  14.      compress reduces the size of the named files using  adaptive
  15.      Lempel-Ziv coding.  Whenever possible, each file is replaced
  16.  
  17. Does anybody know how the adaptive coding is acheived?  I assume there is a 
  18. formula which computes the NUMBER OF BITS per code from the file size. 
  19. What is this formula?
  20.  
  21.  
  22. Thanks advance!
  23.