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

inline iterate method to avoid allocations #148

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

GregPlowman
Copy link

Use @inline on iterate method of Combinations to avoid allocations when creating return tuple

Closes #147

Use `@inline` on iterate method of Combinations to avoid allocations when creating return tuple
inline iterate method of Combinations to avoid allocations
Copy link

codecov bot commented Dec 12, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (e6888be) 96.97% compared to head (eb654a5) 96.97%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #148      +/-   ##
==========================================
- Coverage   96.97%   96.97%   -0.01%     
==========================================
  Files           7        7              
  Lines         728      727       -1     
==========================================
- Hits          706      705       -1     
  Misses         22       22              

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

@knuesel
Copy link

knuesel commented Mar 28, 2024

Any reason not to merge this?

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.

Allocations when iterating Combinations
2 participants