home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!destroyer!gumby!wupost!zaphod.mps.ohio-state.edu!not-for-mail
- From: ren@function.mps.ohio-state.edu (Liming Ren)
- Newsgroups: comp.unix.questions
- Subject: How does compress adap to the file size?
- Date: 11 Nov 1992 21:36:30 -0500
- Organization: Department of Mathematics, The Ohio State University
- Lines: 11
- Distribution: world
- Message-ID: <1dsfveINNe7q@function.mps.ohio-state.edu>
- NNTP-Posting-Host: function.mps.ohio-state.edu
-
- The man page of (UNIX) compress says
-
- compress reduces the size of the named files using adaptive
- Lempel-Ziv coding. Whenever possible, each file is replaced
-
- Does anybody know how the adaptive coding is acheived? I assume there is a
- formula which computes the NUMBER OF BITS per code from the file size.
- What is this formula?
-
-
- Thanks advance!
-