Thanks for comment and example Drew Dormann
https://godbolt.org/z/5bjcMqc4b - This example shows the minor differences between the GCC assembler of 2 classes with different implementations. And the difference is minimal.
where the first Data here has faster ordering comparisons, but the second Data has faster equality
https://godbolt.org/z/ozTcvb848 - In the same example, if we choose Clang, we will see that there is no difference in the assembler at all.