Re: Change GUC hashtable to use simplehash? - Mailing list pgsql-hackers

From Anton A. Melnikov
Subject Re: Change GUC hashtable to use simplehash?
Date
Msg-id ca93309f-7e06-451e-864c-b985e949e629@postgrespro.ru
Whole thread Raw
In response to Re: Change GUC hashtable to use simplehash?  (Jeff Davis <pgsql@j-davis.com>)
Responses Re: Change GUC hashtable to use simplehash?
List pgsql-hackers
Hi, Jhon!

On 14.02.2025 08:17, John Naylor wrote:
> Hi Anton, could you please test if the attached passes for you? This
> seems the simplest way.

Yes, of course. I tested this patch on the current master at 9e17ac997
in the same way and found no valgrind errors.

Moreover, with -O2 build on my PC the nsphash_lookup() has
become fully inlined with this patch and almost two time
faster - 112 asm instructions under the same conditions.
Thanks!

With the best wishes,

-- 
Anton A. Melnikov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company



pgsql-hackers by date:

Previous
From: Shlok Kyal
Date:
Subject: Re: Adding a '--clean-publisher-objects' option to 'pg_createsubscriber' utility.
Next
From: Andreas Karlsson
Date:
Subject: Re: PATCH: Disallow a netmask of zero unless the IP is also all zeroes