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.
Roman _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe