Re: Use T_IntList for uint32

Поиск
Список
Период
Сортировка
Искать
От
Michael Paquier
Тема
Re: Use T_IntList for uint32
Дата
Msg-id
20200901055635.GI3511@paquier.xyz
Ответ на
Список
Дерево обсуждения
Use T_IntList for uint32 Amit Kapila <amit.kapila16@gmail.com>
Re: Use T_IntList for uint32 Tom Lane <tgl@sss.pgh.pa.us>
Re: Use T_IntList for uint32 Amit Kapila <amit.kapila16@gmail.com>
Re: Use T_IntList for uint32 Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Re: Use T_IntList for uint32 Amit Kapila <amit.kapila16@gmail.com>
Re: Use T_IntList for uint32 Tom Lane <tgl@sss.pgh.pa.us>
Re: Use T_IntList for uint32 Michael Paquier <michael@paquier.xyz>
On Tue, Sep 01, 2020 at 01:27:15AM -0400, Tom Lane wrote:
> I've occasionally wondered about having exactly two physical List
> implementations, one for 32-bit payloads and one for 64-bit payloads, and
> then putting a trivial macros-or-static-inlines layer in front of that
> that uses casts to supply variants for pointers, signed ints, unsigned
> ints, etc etc.  There hasn't yet been enough reason to pursue doing it
> though.

FWIW, moving pg_list.h & co to have just two list implementations, based
on say bits32 and a new bits64 is something I was thinking about while
reading this thread.
--
Michael
В списке pgsql-hackers по дате отправления
От: Michael Paquier
Дата:
От: Junfeng Yang
Дата:
FAQ