From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Improve style of pg_lfind32().
Date: Thu, 28 Mar 2024 01:28:46 +0000
Message-ID: <E1rpeZS-0062P6-CD@gemulon.postgresql.org> (raw)
Improve style of pg_lfind32().
This commit simplifies pg_lfind32() a bit by moving the standard
one-by-one linear search code to an inline helper function.
Reviewed-by: Tom Lane
Discussion: https://postgr.es/m/20240327013616.GA3940109%40nathanxps13
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/7188a7806d208430aa5c717a1aefdf4980ed3d4d
Modified Files
--------------
src/include/port/pg_lfind.h | 62 +++++++++++++++++++--------------------------
1 file changed, 26 insertions(+), 36 deletions(-)
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-committers@postgresql.org
Cc: nathan@postgresql.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Improve style of pg_lfind32().
In-Reply-To: <E1rpeZS-0062P6-CD@gemulon.postgresql.org>
* 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