Skip to content

Conversation

@lidavidm
Copy link
Member

@lidavidm lidavidm commented Aug 3, 2021

No description provided.

@github-actions
Copy link

github-actions bot commented Aug 3, 2021

Copy link
Contributor

@cyb70289 cyb70289 left a comment

Choose a reason for hiding this comment

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

LGTM, +1

Comment on lines +1359 to +1360
other_tdigest[0] = std::move(other->tdigests_[other_g]);
tdigests_[*g].Merge(&other_tdigest);
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't remember why but this api does looks awkward :(

Copy link
Member Author

Choose a reason for hiding this comment

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

It might be worth considering whether Merge should take an iterator pair (and whether TDigest::Merge should also take an iterator pair or vector of pointers instead of a vector of structs).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants