name:
bytestring-strict-builder
version:
0.4.2
category:
Text, ByteString, Builders, Serialization
synopsis:
An efficient strict bytestring builder
description:
According to
<https://github.com/nikita-volkov/bytestring-builders-benchmark the competition benchmarks>,
this library provides the fastest builder of strict bytestrings.
.
Practical benchmarks have proven it to be highly performant aswell.
The encoders from the \"postgresql-binary\" library have shown
a stable performance improvement by factors of up to 10 after the migration
from the standard builder to \"bytestring-strict-builder\".
homepage:
https://github.com/nikita-volkov/bytestring-strict-builder
bug-reports:
https://github.com/nikita-volkov/bytestring-strict-builder/issues
author:
Nikita Volkov <nikita.y.volkov@mail.ru>
maintainer:
Nikita Volkov <nikita.y.volkov@mail.ru>
copyright:
(c) 2017, Nikita Volkov
license:
MIT
license-file:
LICENSE
build-type:
Simple
cabal-version:
>=1.10
source-repository head
type:
git
location:
git://github.com/nikita-volkov/bytestring-strict-builder.git
library
hs-source-dirs:
library
default-extensions:
Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
default-language:
Haskell2010
exposed-modules:
ByteString.StrictBuilder
other-modules:
ByteString.StrictBuilder.Prelude
ByteString.StrictBuilder.Population
ByteString.StrictBuilder.Population.UncheckedShifting
ByteString.StrictBuilder.UTF8
build-depends:
semigroups >= 0.18 && < 0.19,
bytestring >= 0.10 && < 0.11,
base-prelude >= 1.2 && < 2,
base >= 4.6 && < 5
test-suite tests
type:
exitcode-stdio-1.0
hs-source-dirs:
tests
main-is:
Main.hs
default-extensions:
Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
default-language:
Haskell2010
build-depends:
bytestring-strict-builder,
-- testing:
tasty == 0.11.*,
tasty-quickcheck == 0.8.*,
tasty-smallcheck == 0.8.*,
tasty-hunit == 0.9.*,
quickcheck-instances >= 0.3.11 && < 0.4,
-- general:
rerebase == 1.*
benchmark benchmarks
type:
exitcode-stdio-1.0
hs-source-dirs:
benchmarks
main-is:
Main.hs
ghc-options:
-O2
-threaded
"-with-rtsopts=-N"
-funbox-strict-fields
default-extensions:
Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveTraversable, DeriveGeneric, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
default-language:
Haskell2010
build-depends:
bytestring-strict-builder,
criterion == 1.1.*,
rerebase == 1.*