dunning-t-digest
Dunning t-digest for online quantile estimation
A pure functional implementation of the Dunning t-digest data structure
(merging digest variant, K1 arcsine scale function) using finger trees
with four-component monoidal measures for O(log n) insertion and queries.
.
Also provides a mutable variant backed by mutable vectors in the ST monad.
.
The t-digest provides streaming, mergeable, memory-bounded approximation
of quantile (percentile) queries with high accuracy in the tails.
.
Features:
.
* O(log n) insertion via split-by-mean (no buffering needed)
* O(log n) quantile queries via split-by-cumulative-weight
* O(log n) CDF queries via split-by-mean
* O(δ log n) compression via split-based greedy merge
* O(1) total weight, centroid count, and chunk mean computation
* Mutable variant with O(1) amortized insertion via buffering
| version | uploaded | uploader | changes | |
|---|---|---|---|---|
| 0.1.0.1 files | 2026-03-12 11:28 UTC | nyc | +208/−4 lines, 3 files | |
| 0.1.0.0 files | 2026-03-12 09:04 UTC | nyc | +2483/−0 lines, 8 filesdep +basedep +dunning-t-digestdep +fingertreesetup-changed |
Dependencies of dunning-t-digest-0.1.0.1
base >=4.16 && <5 4.22.0.0 → 4.22.1.0
| 2026-12-01 12:38 UTC | 4.22.1.0 HSEC-2023-0007 | +388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested |
| 2025-12-19 11:52 UTC | 4.22.0.0 HSEC-2023-0007 | +886/−215 lines, 28 filesdep ~ghc-internalPVP ok |
| 2026-03-27 12:26 UTC | 4.21.2.0 HSEC-2023-0007 | +10/−3 lines, 4 filesdep ~ghc-internalPVP ok |
| 2025-12-27 10:31 UTC | 4.21.1.0 HSEC-2023-0007 | +17/−5 lines, 4 filesdep ~ghc-internalPVP ok |
| 2024-12-16 09:24 UTC | 4.21.0.0 HSEC-2023-0007 | +1170/−396 lines, 39 filesdep ~ghc-internalPVP ok |
showing 5 of 61 versions
fingertree >=0.1 && <0.2 0.1.6.2 → 0.1.6.3
| 2025-12-22 08:51 UTC | 0.1.6.3 | +12/−3 lines, 5 filesPVP ok |
| 2025-07-21 23:22 UTC | 0.1.6.2 | +10/−7 lines, 5 filesPVP ok |
| 2025-05-12 23:07 UTC | 0.1.6.1 | +6/−6 lines, 3 filesdep ~deepseq |
| 2025-05-12 22:47 UTC | 0.1.6.0 deprecated | +65/−12 lines, 6 filesdep +deepseq |
| 2022-01-29 16:53 UTC | 0.1.5.0 | +488/−131 lines, 6 filesPVP: major bump suggested |
showing 5 of 19 versions
vector >=0.12 && <0.14 0.13.1.0 → 0.13.2.0
| 2024-10-31 18:01 UTC | 0.13.2.0 | +5177/−672 lines, 53 filesdep −HUnitdep ~QuickCheckdep ~basedep ~doctestPVP: major bump suggested |
| 2023-10-07 13:35 UTC | 0.13.1.0 | +302/−238 lines, 22 filesdep ~QuickCheckdep ~basedep ~doctestnew-uploaderPVP: major bump suggested |
| 2022-06-19 19:35 UTC | 0.13.0.0 | +19079/−19259 lines, 70 filesdep +tasty-benchdep +tasty-inspection-testingdep +vector-streamdep −faildep −ghc-primdep −semigroupsdep ~basedep ~doctestdep ~primitivePVP ok |
| 2021-09-21 16:21 UTC | 0.12.3.1 | +265/−191 lines, 13 filesdep ~basedep ~deepseqdep ~doctestPVP ok |
| 2021-04-06 19:54 UTC | 0.12.3.0 | +1218/−39 lines, 11 filesdep ~basedep ~ghc-primPVP ok |
showing 5 of 43 versions
Reverse dependencies
no known reverse dependencies