Dear Tran, forget that bit about conduit. Maybe I'm missing something but it seems the conduit version of our program using 'vectorBuilder' is
main = cnums C.=$= C.vectorBuilder 1000 C.mapM_ C.=$= CL.map Chunk C.$$ ii where cnums = CL.sourceList $ L.replicate 10000001 (1 :: Int) ii = C.awaitForever $ \(Chunk v) -> V.mapM_ (($!) const (return ())) v and this takes about twice as much time as the 'idiomatic' approach using the existing pipes material, real 0m4.090s vs real 0m1.917s -- 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.