Skip to content

chore: import t-digest-c lib #5102

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 12, 2025
Merged

chore: import t-digest-c lib #5102

merged 2 commits into from
May 12, 2025

Conversation

kostasrim
Copy link
Contributor

@kostasrim kostasrim commented May 12, 2025

  • import t-digest-c lib as is

@kostasrim kostasrim self-assigned this May 12, 2025
* the include of your alternate allocator if needed (not needed in order
* to use the default libc allocator). */

#ifndef TD_ALLOC_H
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO I should enable mimalloc

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you going to do this in this PR?

* The implementation is a direct descendent of MergingDigest
* https://github.com/tdunning/t-digest/
*
* Copyright (c) 2021 Redis, All rights reserved.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it should be ok to leave this here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's appache 2.0 so we should be ok using it

Copy link
Collaborator

@romange romange May 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, please keep the headers, also please add the license file LICENSE.md and name it t-digest.LICENSE.md

@kostasrim kostasrim merged commit dfdc32b into prob_base May 12, 2025
1 check passed
@kostasrim kostasrim deleted the kpr5 branch May 12, 2025 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants