Re: remove BufferBlockPointers for speed and space

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: remove BufferBlockPointers for speed and space
Дата
Msg-id 18878.1123740157@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: remove BufferBlockPointers for speed and space  (Gavin Sherry <swm@linuxworld.com.au>)
Ответы Re: remove BufferBlockPointers for speed and space  (Gavin Sherry <swm@linuxworld.com.au>)
Список pgsql-patches
Gavin Sherry <swm@linuxworld.com.au> writes:
> On Thu, 11 Aug 2005, Qingqing Zhou wrote:
>> It is said that the BufferBlockPointers is used to speedup the
>> BufferGetBlock() macro. I compared three ways of getting block pointers.

> Do you have results for more recent gcc releases?

Or more than one hardware architecture (which you didn't even say what
you tested...)

Also, I would like to see the actual test code.  I wonder whether what
you measured is the ability of the compiler to optimize references to
successive elements of an array inside a loop; that has little or
nothing to do with the typical usage of BufferGetBlock().

            regards, tom lane

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

Предыдущее
От: Gavin Sherry
Дата:
Сообщение: Re: remove BufferBlockPointers for speed and space
Следующее
От: Gavin Sherry
Дата:
Сообщение: Re: remove BufferBlockPointers for speed and space