
16 Dec
2007
16 Dec
'07
5:33 p.m.
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