Re: Small patch: Change calling convention for ShmemInitHash (and fix possible bug)

Поиск
Список
Период
Сортировка
От Aleksander Alekseev
Тема Re: Small patch: Change calling convention for ShmemInitHash (and fix possible bug)
Дата
Msg-id 20160325153308.5945f30f@fujitsu
обсуждение исходный текст
Ответ на Re: Small patch: Change calling convention for ShmemInitHash (and fix possible bug)  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
> No, I think we left it that way on purpose.  I don't remember the
> discussion exactly, but I don't think it's hurting anything.

This was a part of original dynahash optimization patch. Since that
patch was about performance improvement and this concrete change is
about refactoring, not performance, we agreed to discuss it later as a
separate patch.

> I don't think this actually buys us anything.

For sure it doesn't make anything worse. Current code is just
confusing. I spent quite some time trying to figure out what is a
reason for passing two arguments before I realized - there is none.

-- 
Best regards,
Aleksander Alekseev
http://eax.me/



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: VS 2015 support in src/tools/msvc
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Small patch: Change calling convention for ShmemInitHash (and fix possible bug)