Re: jsonb contains behaviour weirdness

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: jsonb contains behaviour weirdness
Дата
Msg-id CAM3SWZR2f+=CLrOziRv4XWp8cXbOtgdLv+fh0C=jdjYrc0hZHA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: jsonb contains behaviour weirdness  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: jsonb contains behaviour weirdness
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: Collation-aware comparisons in GIN opclasses