From: Nathan Bossart <nathandbossart@gmail.com>
To: Richard Guo <guofenglinux@gmail.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: make additional use of optimized linear search routines
Date: Fri, 2 Sep 2022 15:16:11 -0700
Message-ID: <20220902221611.GC1261322@nathanxps13> (raw)
In-Reply-To: <CAMbWs4-aZr_SiAbKsoOjAN2v5OQ4+eWb7LSXHpHksK_Yr+-t3A@mail.gmail.com>
References: <20220901185153.GA783106@nathanxps13>
<CAMbWs4-aZr_SiAbKsoOjAN2v5OQ4+eWb7LSXHpHksK_Yr+-t3A@mail.gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: nathandbossart@gmail.com, guofenglinux@gmail.com
Subject: Re: make additional use of optimized linear search routines
In-Reply-To: <20220902221611.GC1261322@nathanxps13>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox