blaze-builder 0.3.0.0 → 0.3.0.1
raw patch · 3 files changed
+13/−8 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Blaze/ByteString/Builder/Char/Utf8.hs +0/−7
- CHANGES +12/−0
- blaze-builder.cabal +1/−1
Blaze/ByteString/Builder/Char/Utf8.hs view
@@ -111,19 +111,12 @@ -- | /O(n)/. Serialize a strict Unicode 'TS.Text' value using the UTF-8 encoding. ----- Note that this function is currently faster than 'TS.encodeUtf8' provided by--- "Data.Text.Encoding". Moreover, 'fromText' is also lazy, while 'TL.encodeUtf8'--- is strict.--- fromText :: TS.Text -> Builder fromText = fromString . TS.unpack {-# INLINE fromText #-} -- | /O(n)/. Serialize a lazy Unicode 'TL.Text' value using the UTF-8 encoding.------ Note that this function is currently faster than 'TL.encodeUtf8' provided by--- "Data.Text.Lazy.Encoding". -- fromLazyText :: TL.Text -> Builder fromLazyText = fromString . TL.unpack
CHANGES view
@@ -1,3 +1,15 @@+* 0.3.0.1++ - Remove comparison to the 'text' library encoding functions of+ 'Blaze.Builder.Char.Utf8.fromText' and+ 'Blaze.Builder.Char.Utf8.fromLazyText'. Bryan O'Sullivan reported that on+ his 64-bit system with GHC 7.0.3 the 'text' library is 5x faster than the+ 'blaze-builder' library.++* 0.3.0.0++ - Renamings in internal modules: WriteIO -> Poke and associated functions.+ * 0.2.1.4 - Fixed bug: appending to 'chunkedTransferEncoding somebuilder' also encoded
blaze-builder.cabal view
@@ -1,5 +1,5 @@ Name: blaze-builder-Version: 0.3.0.0+Version: 0.3.0.1 Synopsis: Efficient buffered output. Description: