conduit-extra 1.1.16 → 1.1.17
raw patch · 3 files changed
+7/−4 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- ChangeLog.md +5/−0
- Data/Conduit/Binary.hs +1/−3
- conduit-extra.cabal +1/−1
ChangeLog.md view
@@ -1,3 +1,8 @@+## 1.1.17++* Speed up `sinkHandle` by not flushing after every output operation.+ [#322](https://github.com/snoyberg/conduit/issues/322)+ ## 1.1.16 * Add `Data.Conduit.Foldl` adapter module for the `foldl`
Data/Conduit/Binary.hs view
@@ -167,9 +167,7 @@ sinkHandle :: MonadIO m => IO.Handle -> Consumer S.ByteString m ()-sinkHandle h = awaitForever $ \bs -> liftIO $ do- S.hPut h bs- IO.hFlush h+sinkHandle h = awaitForever (liftIO . S.hPut h) -- | An alternative to 'sinkHandle'. -- Instead of taking a pre-opened 'IO.Handle', it takes an action that opens
conduit-extra.cabal view
@@ -1,5 +1,5 @@ Name: conduit-extra-Version: 1.1.16+Version: 1.1.17 Synopsis: Batteries included conduit: adapters for common libraries. Description: The conduit package itself maintains relative small dependencies. The purpose of this package is to collect commonly used utility functions wrapping other library dependencies, without depending on heavier-weight dependencies. The basic idea is that this package should only depend on haskell-platform packages and conduit.