Re: make additional use of optimized linear search routines - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: make additional use of optimized linear search routines
Date
Msg-id 20220902221611.GC1261322@nathanxps13
Whole thread Raw
In response to Re: make additional use of optimized linear search routines  (Richard Guo <guofenglinux@gmail.com>)
Responses Re: make additional use of optimized linear search routines
List pgsql-hackers
On Fri, Sep 02, 2022 at 08:15:46PM +0800, Richard Guo wrote:
> +1 for the proposal. I did some simple grep work in the source codes but
> not too much outputs besides the two places addressed in your patches.

Thanks for taking a look!

> Here are some places I noticed that might be optimized with pg_lfind*().
> But 1) these places have issues that arguments differ in signedness, and
> 2) I'm not sure whether they are performance-sensitive or not.

Yeah, I doubt that these typically deal with many elements or are
performance-sensitive enough to bother with.

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com



pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: Avoid erroring out when unable to remove or parse logical rewrite files to save checkpoint work
Next
From: Justin Pryzby
Date:
Subject: Re: warn if GUC set to an invalid shared library