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.