Re: optimize lookups in snapshot [sub]xip arrays

Поиск
Список
Период
Сортировка
От Bharath Rupireddy
Тема Re: optimize lookups in snapshot [sub]xip arrays
Дата
Msg-id CALj2ACVX8CTHZ3ZCa-fqOW-sBRjsz77daudB7_k9oceZaHbyeg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: optimize lookups in snapshot [sub]xip arrays  (John Naylor <john.naylor@enterprisedb.com>)
Список pgsql-hackers
On Mon, Aug 8, 2022 at 2:30 PM John Naylor <john.naylor@enterprisedb.com> wrote:
>
> On Mon, Aug 8, 2022 at 2:26 PM Bharath Rupireddy
> <bharath.rupireddyforpostgres@gmail.com> wrote:
>
> > 3) Can pg_lfind32 return the index of  the key found, for instance to
> > use it for setting/resetting the found element in the array?
>
> That was just discussed. It's slightly faster not to return an index.

I haven't looked upthread, please share the difference. How about
another version of the function that returns the index too?

-- 
Bharath Rupireddy
RDS Open Source Databases: https://aws.amazon.com/rds/postgresql/



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

Предыдущее
От: John Naylor
Дата:
Сообщение: Re: optimize lookups in snapshot [sub]xip arrays
Следующее
От: vignesh C
Дата:
Сообщение: Re: Skipping schema changes in publication