Open
Description
openedon Apr 10, 2023
Describe the problem you are trying to solve
When combining IIncrementalValuesProvider<T>
with two or more IIncrementalValueProvider<T>
instances, the manner in which the values are combined can impact cache sizes.
Describe suggestions on how to achieve the rule
Identify cases where the following pattern is used:
values.Combine(value1).Combine(value2)
Suggest to rewrite as:
values.Combine(value1.Combine(value2))
Additional context
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment