ghc-bignum library
ghc-bignum is a newer package that aims to replace the legacy integer-simple and integer-gmp packages. * it supports several backends. In particular GMP is still supported and most of the code from integer-gmp has been merged in the "gmp" backend. * the pure Haskell "native" backend is new and is much faster than the previous pure Haskell implementation provided by integer-simple * new backends are easier to write because they only have to provide a few well defined functions. All the other code is common to all backends. In particular they all share the efficient small/big number distinction previously used only in integer-gmp. * backends can all be tested against the "native" backend with a simple Cabal flag. Backends are only allowed to differ in performance, their results should be the same. * Add `integer-gmp` compat package: provide some pattern synonyms and function aliases for those in `ghc-bignum`. It is intended to avoid breaking packages that depend on `integer-gmp` internals. Update submodules: text, bytestring Metric Decrease: Conversions ManyAlternatives ManyConstructors Naperian T10359 T10547 T10678 T12150 T12227 T12234 T12425 T13035 T13719 T14936 T1969 T4801 T4830 T5237 T5549 T5837 T8766 T9020 parsing001 space_leak_001 T16190 haddock.base On ARM and i386, T17499 regresses (+6% > 5%). On x86_64 unregistered, T13701 sometimes regresses (+2.2% > 2%). Metric Increase: T17499 T13701
Showing
- .gitmodules 1 addition, 1 deletion.gitmodules
- docs/users_guide/extending_ghc.rst 4 additions, 8 deletionsdocs/users_guide/extending_ghc.rst
- libraries/ghc-bignum/.gitignore 0 additions, 0 deletionslibraries/ghc-bignum/.gitignore
- libraries/ghc-bignum/GMP.rst 15 additions, 14 deletionslibraries/ghc-bignum/GMP.rst
- libraries/ghc-bignum/LICENSE 31 additions, 0 deletionslibraries/ghc-bignum/LICENSE
- libraries/ghc-bignum/README.rst 81 additions, 0 deletionslibraries/ghc-bignum/README.rst
- libraries/ghc-bignum/Setup.hs 0 additions, 0 deletionslibraries/ghc-bignum/Setup.hs
- libraries/ghc-bignum/aclocal.m4 0 additions, 0 deletionslibraries/ghc-bignum/aclocal.m4
- libraries/ghc-bignum/cbits/gmp_wrappers.c 1 addition, 1 deletionlibraries/ghc-bignum/cbits/gmp_wrappers.c
- libraries/ghc-bignum/changelog.md 1 addition, 0 deletionslibraries/ghc-bignum/changelog.md
- libraries/ghc-bignum/config.guess 0 additions, 0 deletionslibraries/ghc-bignum/config.guess
- libraries/ghc-bignum/config.mk.in 1 addition, 1 deletionlibraries/ghc-bignum/config.mk.in
- libraries/ghc-bignum/config.sub 0 additions, 0 deletionslibraries/ghc-bignum/config.sub
- libraries/ghc-bignum/configure.ac 127 additions, 0 deletionslibraries/ghc-bignum/configure.ac
- libraries/ghc-bignum/ghc-bignum.buildinfo.in 0 additions, 0 deletionslibraries/ghc-bignum/ghc-bignum.buildinfo.in
- libraries/ghc-bignum/ghc-bignum.cabal 124 additions, 0 deletionslibraries/ghc-bignum/ghc-bignum.cabal
- libraries/ghc-bignum/gmp/ghc-gmp.h 0 additions, 0 deletionslibraries/ghc-bignum/gmp/ghc-gmp.h
- libraries/ghc-bignum/gmp/ghc.mk 29 additions, 29 deletionslibraries/ghc-bignum/gmp/ghc.mk
- libraries/ghc-bignum/gmp/gmp-tarballs 0 additions, 0 deletionslibraries/ghc-bignum/gmp/gmp-tarballs
- libraries/ghc-bignum/gmp/gmpsrc.patch 0 additions, 0 deletionslibraries/ghc-bignum/gmp/gmpsrc.patch
Loading
Please register or sign in to comment