apache / apache/datasketches-cpp
Study to compare t-Digest and REQ sketch
- Langage dominant
- C++
- Étoiles
- 273
- Forks
- 88
- Merge moyen
- 2 j 2 h
- PR mergées (30 j)
- 8
Description
Compare the performance of t-Digest with the closest competitor in the library, REQ sketch.
REQ sketch is the closest competitor because it prioritizes high rank accuracy (HRA mode) or low rank accuracy (LRA mode), unlike other quantile sketches (KLL, classic) with the same rank error for any rank.
There are a few obvious differences:
- REQ sketch can work with any data type with a comparator, t-Digest is limited to numeric data (floating-point types)
- REQ sketch retains and returns values observed in the input only - no notion of distance (only less than comparison), no interpolation. t-Digest is based on computing means and does interpolation.
- t-Digest prioritizes both high rank and low rank accuracy at the same time with the default scaling function. Perhaps this can be changed with different scaling functions.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Aucun fichier, test ou point d’entrée de benchmark n’est nommé. Localisez les implémentations de t-Digest et REQ ainsi que tout harness de performance existant, puis comparez le comportement de HRA/LRA et de la mise à l’échelle par défaut pour les types d’entrée décrits ; le travail est terminé lorsqu’une comparaison reproductible avec des résultats documentés est disponible.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- cpp
- Domaine
- data, performance
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100