Re: Do we want a hashset type?

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Do we want a hashset type?
Дата
Msg-id cf5fdbfb-314a-4309-e6a4-6f3e64ec05ca@dunslane.net
обсуждение исходный текст
Ответ на Re: Do we want a hashset type?  ("Joel Jacobson" <joel@compiler.org>)
Список pgsql-hackers


On 2023-05-31 We 11:40, Joel Jacobson wrote:
On Wed, May 31, 2023, at 16:53, Tomas Vondra wrote:
I think this needs a better explanation - what exactly is a hashset in
this context? Something like an array with a hash for faster lookup of
unique elements, or what?
In this context, by "hashset" I am indeed referring to a data structure similar
to an array, where each element would be unique, and lookups would be faster
than arrays for larger number of elements due to hash-based lookups.


Yeah, a fast lookup set type has long been on my "blue sky" wish list.  So +1 for pursuing the idea.


cheers


andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com

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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: Avoiding another needless ERROR during nbtree page deletion
Следующее
От: Melih Mutlu
Дата:
Сообщение: Re: [PATCH] Reuse Workers and Replication Slots during Logical Replication