Skip to content

refactor: simplify it.HasSuffix implementation#767

Merged
samber merged 1 commit intosamber:masterfrom
d-enk:refactor-it-has-suffix
Jan 12, 2026
Merged

refactor: simplify it.HasSuffix implementation#767
samber merged 1 commit intosamber:masterfrom
d-enk:refactor-it-has-suffix

Conversation

@d-enk
Copy link
Contributor

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

Simplify circular buffer logic:

  • simplified calculation of the buf index
  • remove append-based construction
  • reduce unnecessary copying

@codecov
Copy link

codecov bot commented Jan 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.20%. Comparing base (eb9719c) to head (8211893).
⚠️ Report is 4 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #767   +/-   ##
=======================================
  Coverage   94.20%   94.20%           
=======================================
  Files          18       18           
  Lines        2880     2880           
=======================================
  Hits         2713     2713           
  Misses        151      151           
  Partials       16       16           
Flag Coverage Δ
unittests 94.20% <ø> (ø)

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.

Simplify circular buffer logic:
- simplified calculation of the buf index
- remove append-based construction
- reduce unnecessary copying
@d-enk d-enk force-pushed the refactor-it-has-suffix branch from 46d1da7 to 8211893 Compare January 12, 2026 18:52
@d-enk d-enk changed the title refactor: simplify it.HasSuffix implementation refactor: simplify it.HasSuffix implementation Jan 12, 2026
@samber samber merged commit da54892 into samber:master Jan 12, 2026
19 of 20 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