Apple Wiki
Apple Wiki
Advertisement
Apple Wiki

Compression ( or compaction) is the encoding of data to save storage space or transmission time. Although data is already coded in digital form for computer processing, it can often be coded more efficiently (using fewer bits). For example, run-length encoding replaces strings of repeated characters (or other units of data) with a single character and a count. There are many compression algorithms and utilities. Compressed data must be decompressed before it can be used.

Usage[]

When compressing several similar files, it is usually better to join the files together into an archive file of some kind (using tar for example) and then compress them, rather than to join together individually compressed files. This is because some common compression algorithms build up tables based on the data from their current input which they have already compressed. They then use this table to compress subsequent data more efficiently.[1]

Examples[]

The standard Unix compression utilty is called compress though GNU's superior gzip has largely replaced it. Other compression utilties include pack, zip and PKZIP.[1]

References[]

See also[]

External links[]

Utility stub shuffle This article is a stub. You can help the Apple Wiki by expanding it.
FOLDOC logo This page uses GFDL licensed content from the Free On-line Dictionary of Computing.
Advertisement