Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> Any thoughts about keeping datumAsEqual() as a first check? I did some
> light performance tests, but it was inconclusive.
Seems like it would tend to be a win if, in fact, the values are
usually equal. If they're usually not, then it's a loser. Do
we have any feeling for which case is more common?
regards, tom lane