On Implementing Two Adaptive Data-Compression Schemes