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

Improve batching code #1079

Merged
merged 6 commits into from
Jan 5, 2024
Merged

Conversation

godexsoft
Copy link
Collaborator

Batching implemented in #1076 was not really fit for 'forward_range' (needed random access).
This is just a improved version of the same that actually works ok for containers other than vector.

@godexsoft godexsoft requested a review from kuznetsss January 4, 2024 21:53
Copy link

codecov bot commented Jan 4, 2024

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (ae13575) 54.12% compared to head (a1d04c0) 54.13%.

Files Patch % Lines
src/util/Batching.h 88.88% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1079      +/-   ##
===========================================
+ Coverage    54.12%   54.13%   +0.01%     
===========================================
  Files          188      188              
  Lines         9964     9967       +3     
  Branches      5295     5295              
===========================================
+ Hits          5393     5396       +3     
  Misses        3566     3566              
  Partials      1005     1005              

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

@godexsoft godexsoft marked this pull request as ready for review January 5, 2024 10:21
Copy link
Collaborator

@kuznetsss kuznetsss left a comment

Choose a reason for hiding this comment

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

LGTM

@godexsoft godexsoft merged commit e26a1e3 into XRPLF:develop Jan 5, 2024
8 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