-
Notifications
You must be signed in to change notification settings - Fork 77
Remove cartesian_product and any_check #5892
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
base: main
Are you sure you want to change the base?
Conversation
This update removes the cartesian_product function and introduces a more efficient any_check function that utilizes C++20 fold expressions. The new implementation checks if any elements in one or more tuples satisfy a given predicate, improving code clarity and performance.
|
!test |
This update modernizes the `any_check` function by replacing its previous implementation with a more efficient version that leverages C++20 fold expressions. The new implementation simplifies the checks for predicate satisfaction across tuples, enhancing both clarity and performance. Additionally, several usages of `any_check` throughout the `dynamic_type` module have been updated to reflect this change.
|
Review updated until commit 6b6d622 Description
|
| Relevant files | |||||
|---|---|---|---|---|---|
| Enhancement |
|
PR Reviewer Guide
Here are some key observations to aid the review process:
| 🧪 No relevant tests |
| ⚡ Recommended focus areas for review |
Missing Performance Data
|
|
!test |
|
!test |
This update removes the cartesian_product function and introduces a more efficient any_check function that utilizes C++20 fold expressions. The new implementation checks if any elements in one or more tuples satisfy a given predicate, improving code clarity and performance.