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