On Mon, Sep 15, 2014 at 11:29 AM, Tom Lane <[email protected]> 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


-- 
Sent via pgsql-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to