minor restrpos / markpos optimization

Поиск
Список
Период
Сортировка
От Neil Conway
Тема minor restrpos / markpos optimization
Дата
Msg-id 1100650802.9430.7.camel@localhost.localdomain
обсуждение исходный текст
Ответы Re: minor restrpos / markpos optimization
Список pgsql-patches
This patch makes a minor optimization to the restrpos() and markpos()
implementations for btree and hash: to bump the reference count on a
buffer, it is more efficient to use IncrBufferRefCount() than to do a
ReadBuffer (for one thing we needn't acquire the BufMgrLock; we also
don't need to do a hash table lookup etc.)

Barring any objections I will apply to HEAD before end of day.

-Neil


Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Win32 signals & sockets
Следующее
От: Andrew Dunstan
Дата:
Сообщение: docs patch - CSV import limitation