Hello Chad, Thursday, November 15, 2007, 9:03:52 AM, you wrote:
> I'd like to be able to use Data.Binary (or similar) for compression. > Say I have an abstract type Symbol, and for each value of Symbol I > have a representation in terms of some number of bits. For compression > to be efficient, commonly-used Symbols should have very short > representations, while less common ones can be longer. alternative may be using naive representation for serializing and then running zip/bzip2 compression lib over it. it should be both faster and provide better compression -- Best regards, Bulat mailto:[EMAIL PROTECTED] _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe