-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
ARROW-6772: [C++] Add operator== for interfaces with an Equals() method #14038
ARROW-6772: [C++] Add operator== for interfaces with an Equals() method #14038
Conversation
Adds util::EqualityComparable mixin to relevant types, replacing prior overloads if applicable.
|
The RTools 40 mingw32 CI failure looked unrelated, so I restarted the job. |
For reference, I've hacked together a list of potentially similar classes that may be worth inspecting - i.e. they declare Equals() but don't appear to inherit the mixin.
|
Thanks @benibus . Looking at this list, many of these classes can have quite expensive equality (for example |
I'm gonna merge here since all is good. Thank you @benibus ! |
Benchmark runs are scheduled for baseline = bc8a608 and contender = bda98aa. bda98aa is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
…od (apache#14038) Addresses [ARROW-6772](https://issues.apache.org/jira/browse/ARROW-6772). Adds util::EqualityComparable mixin to relevant types, replacing prior operator==() overloads if applicable. Authored-by: benibus <[email protected]> Signed-off-by: Antoine Pitrou <[email protected]>
…od (apache#14038) Addresses [ARROW-6772](https://issues.apache.org/jira/browse/ARROW-6772). Adds util::EqualityComparable mixin to relevant types, replacing prior operator==() overloads if applicable. Authored-by: benibus <[email protected]> Signed-off-by: Antoine Pitrou <[email protected]>
Addresses ARROW-6772.
Adds util::EqualityComparable mixin to relevant types, replacing prior operator==() overloads if applicable.