Storage using resemblance of data segments is disclosed. It is determined
that a new segment resembles a prior stored segment. The prior stored
segment comprises a segment stored previously from any location in an
input data stream. A delta between the new segment and the prior stored
segment is determined. A representation of the new segment based at least
in part on the delta is stored.