Re: Change GUC hashtable to use simplehash?

From: Jeff Davis <pgsql(at)j-davis(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Gurjeet Singh <gurjeet(at)singh(dot)im>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Change GUC hashtable to use simplehash?
Date: 2023-11-17 22:08:56
Message-ID: c95e1821b6a69ec0c40eb0252e037b68a62cdae3.camel@j-davis.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, 2023-11-17 at 17:04 -0500, Tom Lane wrote:
> I can't imagine wanting to convert *every* hashtable in the system
> to simplehash; the added code bloat would be unreasonable.  So yeah,
> I think we'll have two mechanisms indefinitely.  That's not to say
> that we might not rewrite hsearch.  But simplehash was never meant
> to be a universal solution.

OK, I will withdraw the patch until/unless it provides a concrete
benefit.

Regards,
Jeff Davis

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2023-11-17 22:17:05 Re: Change GUC hashtable to use simplehash?
Previous Message Andres Freund 2023-11-17 22:08:30 Re: Change GUC hashtable to use simplehash?