Re: NAMEDATALEN Changes

Поиск
Список
Период
Сортировка
От nconway@klamath.dyndns.org (Neil Conway)
Тема Re: NAMEDATALEN Changes
Дата
Msg-id 20020214183743.GA10423@klamath.dyndns.org
обсуждение исходный текст
Ответ на Re: NAMEDATALEN Changes  (Neil Conway <nconway@klamath.dyndns.org>)
Список pgsql-hackers
On Thu, Feb 14, 2002 at 12:59:40AM -0500, Neil Conway wrote:
> I've attached a pretty trivial patch that implements this. Instead of
> automatically hashing NAMEDATALEN bytes, hashname() uses only strlen()
> bytes: this should improve both the common case (small identifers, 5-10
> characters long), as well as reduce the penalty when NAMEDATALEN is
> increased. The patch passes the regression tests, FWIW. I didn't remove
> cc_hashname() -- I'll tackle that tomorrow unless anyone objects...

Okay, I've attached a new version that removes cc_hashname(). As with
the previous patch, this passes the regression tests. Feedback is welcome.

Cheers,

Neil


Вложения

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

Предыдущее
От: Marc Lavergne
Дата:
Сообщение: Re: Upgrading to 7.2
Следующее
От: Oleg Bartunov
Дата:
Сообщение: pre-alpha release of OpenFTS (perl version) is available for testing