integer-conversion: Conversion from strings to Integer
The naive foldl' (acc d -> acc * 10 + d) 0 is expensive (quadratic!) for large Integers.
This package provides sub-quadratic implementation.
Downloads
- integer-conversion-0.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 0.1, 0.1.0.1, 0.1.1 |
|---|---|
| Change log | ChangeLog.md |
| Dependencies | base (>=4.9.0.0 && <4.19), bytestring (>=0.10.8.1 && <0.11 || >=0.11.4.0 && <0.12), primitive (>=0.8.0.0 && <0.9), text (>=1.2.3.0 && <1.3 || >=2.0.1 && <2.1) [details] |
| Tested with | ghc ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.5 || ==9.6.2 |
| License | BSD-3-Clause |
| Copyright | (c) 2023 Oleg Grenrus |
| Author | Oleg Grenrus <oleg.grenrus@iki.fi> |
| Maintainer | Oleg.Grenrus <oleg.grenrus@iki.fi> |
| Uploaded | by phadej at 2023-06-08T16:12:46Z |
| Category | Data |
| Home page | https://github.com/phadej/integer-conversion |
| Bug tracker | https://github.com/phadej/integer-conversion/issues |
| Source repo | head: git clone https://github.com/phadej/integer-conversion.git |
| Distributions | Arch:0.1.1, Fedora:0.1.1, LTSHaskell:0.1.1, NixOS:0.1.1, Stackage:0.1.1, openSUSE:0.1.1 |
| Reverse Dependencies | 5 direct, 8539 indirect [details] |
| Downloads | 5142 total (13 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs available [build log] Last success reported on 2023-06-08 [all 1 reports] |