Skip to content
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

Rename mc::range to mc::block, better bucket scaling #33

Merged
merged 2 commits into from
Nov 22, 2024

Conversation

ChrisspyB
Copy link
Member

@ChrisspyB ChrisspyB commented Nov 20, 2024

Noticed that gribjump.extract scaled very poorly when using many ranges for the same field. This was due to a linearly scaling method used when inserting ranges into "buckets". Rewrote this method to use binary search.

Also extended its functionality to support more elaborate merging of overlapping ranges, which were not previously supported, or at least not correctly. To be seen if this is useful (it would be convenient for polytope if we could support overlapping ranges)

@codecov-commenter
Copy link

codecov-commenter commented Nov 20, 2024

Codecov Report

Attention: Patch coverage is 64.10256% with 56 lines in your changes missing coverage. Please review.

Project coverage is 61.77%. Comparing base (7214a80) to head (55fda3f).

Files with missing lines Patch % Lines
src/gribjump/ExtractionData.cc 45.78% 45 Missing ⚠️
src/gribjump/compression/Range.cc 74.19% 8 Missing ⚠️
src/gribjump/compression/DataAccessor.h 0.00% 2 Missing ⚠️
src/gribjump/compression/NumericCompressor.h 75.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop      #33      +/-   ##
===========================================
- Coverage    61.81%   61.77%   -0.04%     
===========================================
  Files           85       85              
  Lines         4376     4440      +64     
  Branches       486      488       +2     
===========================================
+ Hits          2705     2743      +38     
- Misses        1671     1697      +26     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@ChrisspyB
Copy link
Member Author

CI appears to be failing due to unrelated issue on the runners

@ChrisspyB ChrisspyB merged commit ded3024 into develop Nov 22, 2024
102 checks passed
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.

2 participants