[Haskell-cafe] Using Data.Binary for compression
Bulat Ziganshin
bulat.ziganshin at gmail.com
Thu Nov 15 02:02:08 EST 2007
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:Bulat.Ziganshin at gmail.com
More information about the Haskell-Cafe
mailing list