Re: [HACKERS] Hash Functions

Поиск
Список
Период
Сортировка
От Kenneth Marshall
Тема Re: [HACKERS] Hash Functions
Дата
Msg-id 20170512190019.GJ23853@aart.rice.edu
обсуждение исходный текст
Ответ на Re: [HACKERS] Hash Functions  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Fri, May 12, 2017 at 02:23:14PM -0400, Robert Haas wrote:
> 
> What about integers?  I think we're already assuming two's-complement
> arithmetic, which I think means that the only problem with making the
> hash values portable for integers is big-endian vs. little-endian.
> That's sounds solveable-ish.
> 

xxhash produces identical hashes independent for big-endian and little-
endian.

https://github.com/Cyan4973/xxHash

Regards,
Ken



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Hash Functions
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] Hash Functions