On Mon, Sep 15, 2014 at 11:29 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> It might be that the benefit is very close to nil; that would depend a lot
> on workload, so it's hard to be sure. I'd say though that the cost is
> also very close to nil, in the sense that we're considering two additional
> compare-and-branch instructions in a function that will surely expend
> hundreds or thousands of instructions if there's no such short-circuit.
Fair enough.
--
Peter Geoghegan