Skip to content

perf: optimize Sliding by pre-allocating result capacity#783

Merged
samber merged 1 commit intosamber:masterfrom
d-enk:optimize-sliding
Jan 22, 2026
Merged

perf: optimize Sliding by pre-allocating result capacity#783
samber merged 1 commit intosamber:masterfrom
d-enk:optimize-sliding

Conversation

@d-enk
Copy link
Contributor

@d-enk d-enk commented Jan 22, 2026

Reducing repeated calculations

@codecov
Copy link

codecov bot commented Jan 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.18%. Comparing base (2859d73) to head (c9862e1).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #783   +/-   ##
=======================================
  Coverage   94.18%   94.18%           
=======================================
  Files          18       18           
  Lines        2872     2873    +1     
=======================================
+ Hits         2705     2706    +1     
  Misses        151      151           
  Partials       16       16           
Flag Coverage Δ
unittests 94.18% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@samber samber merged commit d8c7231 into samber:master Jan 22, 2026
11 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