text-builder 0.5.1 → 0.5.1.1
raw patch · 3 files changed
+8/−7 lines, 3 filesdep ~criterion
Dependency ranges changed: criterion
Files
- char-benchmark/Main.hs +3/−3
- library/Text/Builder.hs +2/−1
- text-builder.cabal +3/−3
char-benchmark/Main.hs view
@@ -50,16 +50,16 @@ {-# NOINLINE smallInput #-} smallInput :: [Int]-!smallInput =+smallInput = map ord ['a', 'b', 'Ф', '漢', chr 0x11000] {-# NOINLINE mediumInput #-} mediumInput :: [Int]-!mediumInput =+mediumInput = mconcat (replicate 1000 smallInput) {-# NOINLINE largeInput #-} largeInput :: [Int]-!largeInput =+largeInput = mconcat (replicate 100000 smallInput)
library/Text/Builder.hs view
@@ -52,7 +52,8 @@ size = size1 + size2 -instance Semigroup Builder+instance Semigroup Builder where+ (<>) = mappend {-# INLINE char #-} char :: Char -> Builder
text-builder.cabal view
@@ -1,7 +1,7 @@ name: text-builder version:- 0.5.1+ 0.5.1.1 category: Text synopsis:@@ -93,7 +93,7 @@ -- text-builder, -- benchmarking:- criterion == 1.1.*,+ criterion >= 1.1 && < 1.5, -- general: rerebase == 1.* @@ -117,6 +117,6 @@ -- text-builder, -- benchmarking:- criterion == 1.1.*,+ criterion >= 1.1 && < 1.5, -- general: rerebase == 1.*