[Haskell-cafe] [RFC] benchmarks of bytestrings, teaser

Roman Leshchinskiy rl at cse.unsw.edu.au
Sun Dec 16 17:33:47 EST 2007

Don Stewart wrote:
>  cnt    :: B.ByteString -> Int64
>  cnt bs = B.length (B.filter (== ' ') bs)
 > [...]
> Now, this memory result is suspicious, I wonder if the now obsolete 'array fusion'
> is messing things up. In Data.ByteString.Lazy, we have:

Are you sure you have a fusible length? I think I only added it to NDP 
after stream fusion went in.


More information about the Haskell-Cafe mailing list