Skip to content

Conversation

@mrchhaya
Copy link
Contributor

Implements #77

Passes all tests on
clang version 16.0.6
Target: arm64-apple-darwin23.0.0
Thread model: posix

Implemented using the boost ranked indicies which I believe should provide O(logn) find, delete, insert, rank operations.

mrchhaya added 2 commits July 11, 2024 15:00
Signed-off-by: Mohit Chhaya <mohitchhaya24@gmail.com>
Signed-off-by: Mohit Chhaya <mohitchhaya24@gmail.com>
@timkpaine timkpaine added type: enhancement Issues and PRs related to improvements to existing features tag: needs squash PRs that need to be cleaned/squashed labels Jul 12, 2024
Copy link
Member

@timkpaine timkpaine left a comment

Choose a reason for hiding this comment

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

csp/cpp/csp/cppnodes/statsimpl.h:16:10: fatal error: 'boost/multi_index_container.hpp' file not found

You may need to add boost-multi-index explicitly as a separate vcpkg dep in vcpkg.json

Copy link
Collaborator

@AdamGlustein AdamGlustein left a comment

Choose a reason for hiding this comment

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

Great stuff, thanks for the contribution! The only major action item is to remove the gnu::pbds tree since your impl beats it 😄

@timkpaine timkpaine changed the title Improve non-GCC implementation of statistics functions Quantile/Rank #77 Improve non-GCC implementation of statistics functions Quantile/Rank Jul 12, 2024
@timkpaine timkpaine marked this pull request as draft July 13, 2024 21:06
Signed-off-by: Mohit Chhaya <mohitchhaya24@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tag: needs squash PRs that need to be cleaned/squashed type: enhancement Issues and PRs related to improvements to existing features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants