Re: NAMEDATALEN Changes - Mailing list pgsql-hackers

From nconway@klamath.dyndns.org (Neil Conway)
Subject Re: NAMEDATALEN Changes
Date
Msg-id 20020214183743.GA10423@klamath.dyndns.org
Whole thread Raw
In response to Re: NAMEDATALEN Changes  (Neil Conway <nconway@klamath.dyndns.org>)
List 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


Attachment

pgsql-hackers by date:

Previous
From: Marc Lavergne
Date:
Subject: Re: Upgrading to 7.2
Next
From: Oleg Bartunov
Date:
Subject: pre-alpha release of OpenFTS (perl version) is available for testing