[Haskell-cafe] Toy compression algorithms [was: A very edgy language]

Bulat Ziganshin bulat.ziganshin at gmail.com
Sun Jul 8 15:42:42 EDT 2007


Hello Stefan,

Sunday, July 8, 2007, 11:03:00 PM, you wrote:

>> >>> (Realistically though. My program takes a [Word8] and turns it into a
>> >>> [Bool] before running a parser over it. The GHC optimiser doesn't really 
>> >>> stand a hope in hell of optimising that into a program that reads a machine 
>> >>> word into a CPU register and starts playing with bit flips on it...)

well, can you give us an example of code which does that Andrew said
and translates into the simple bit fiddling without battling all
around lazy lists which kills performance?

-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Haskell-Cafe mailing list