Robert Feldt wrote:
> BTW, maybe we should agree on a base class for compression algorithms so
> that we can start collecting them into a lib? Anyone got a sensible
> OO design for compression?

Don't know anything about compression algorithms, but the design smells like
a Strategy Pattern (variation of algorithms used in an object with a common
interface - also known as changing class at runtime) or some sort of
degenerate Bridge Pattern (separation of interface and implementation).

Regards,

Dennis