Dear Tran + Gabriel, 

I think I discovered that one easy-to-repair problem with 

     chunks = L.impurely foldsM (fmap Chunk L.vector)  (view (chunksOf 10) 
nums)

is the very simple one that you forgot the add the characteristic 
`Inlinable` to the definition of `Pipes.Group.foldsM` 
I sent a 
patch.  https://github.com/Gabriel439/Haskell-Pipes-Group-Library/pull/6 
You can see some timing differences for the programs I mentioned before in 
the notes added in 
discussion there.  I had started to think that FreeT wasn't really much to 
blame in this program,
just the use of `next` in the definition of `splitAt`. In fact, as I note 
there, the best `FreeT` variant 
takes half-again as long an equivalent program using 
https://github.com/michaelt/streaming which is
just the obvious 'pipes-like' optimization of `FreeT`

-- 
You received this message because you are subscribed to the Google Groups 
"Haskell Pipes" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to haskell-pipes+unsubscr...@googlegroups.com.
To post to this group, send email to haskell-pipes@googlegroups.com.

Reply via email to