GNU bug report logs -
#38423
add postgrest
Previous Next
Full log
Message #95 received at 38423 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/haskell-xyz.scm (ghc-bytestring-strict-builder): New variable.
---
gnu/packages/haskell-xyz.scm | 43 ++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index acf8093de9..8637f5c637 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -13940,3 +13940,46 @@ they do not get forgotten so easily.")
It is especially well-suited for generating strict bytestrings, beating the standard
builder by at least the factor of 4.")
(license license:expat)))
+
+(define-public ghc-bytestring-strict-builder
+ (package
+ (name "ghc-bytestring-strict-builder")
+ (version "0.4.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/bytestring-strict-builder/bytestring-strict-builder-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "17n6ll8k26312fgxbhws1yrswvy5dbsgyf57qksnj0akdssysy8q"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-semigroups" ,ghc-semigroups)
+ ("ghc-base-prelude" ,ghc-base-prelude)))
+ (native-inputs
+ `(("ghc-tasty" ,ghc-tasty)
+ ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)
+ ("ghc-tasty-hunit" ,ghc-tasty-hunit)
+ ("ghc-quickcheck-instances"
+ ,ghc-quickcheck-instances)
+ ("ghc-quickcheck" ,ghc-quickcheck)
+ ("ghc-rerebase" ,ghc-rerebase)))
+ (arguments
+ `(#:cabal-revision
+ ("1"
+ "1snn8qb17maa76zji75i4yfz9x8ci16xp6zwg6kgwb33lf06imnd")))
+ (home-page
+ "https://github.com/nikita-volkov/bytestring-strict-builder")
+ (synopsis
+ "An efficient strict bytestring builder")
+ (description
+ "According to https://github.com/nikita-volkov/bytestring-builders-benchmark,
+this library provides on average the fastest builder of strict bytestrings.
+Practical benchmarks have proven it to be highly performant as well. 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.")
+ (license license:expat)))
--
2.21.0 (Apple Git-122.2)
This bug report was last modified 5 years and 198 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.