-
Notifications
You must be signed in to change notification settings - Fork 37
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
Improve non-GCC implementation of statistics functions Quantile/Rank #322
Conversation
There was a problem hiding this 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
There was a problem hiding this 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 😄
Signed-off-by: Mohit Chhaya <mohitchhaya24@gmail.com>
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.