Describes the strategy for joining two ImmutableMap instances, primarily differing in how they handle keys that are unique to one of the maps.
A Symmetric join is universally correct, while an Asymmetric join serves as a performance optimization. The latter is applicable only when the join operation possesses a left identity element, allowing for a more efficient, one-sided merge.
Enumerator |
---|
Symmetric | A symmetric join applies the JoinValues operation to keys unique to either map, ensuring that values from both maps contribute to the result.
|
Asymmetric | An asymmetric join preserves keys unique to the first map as-is, while applying the JoinValues operation only to keys unique to the second map.
|
Definition at line 56 of file Utils.h.