Re: optimize lookups in snapshot [sub]xip arrays - Mailing list pgsql-hackers

From John Naylor
Subject Re: optimize lookups in snapshot [sub]xip arrays
Date
Msg-id CAFBsxsGX-4cb9Cfhb5zdMfkTFaFkE_EpSOdS-Oz8gP5zD96paw@mail.gmail.com
Whole thread Raw
In response to Re: optimize lookups in snapshot [sub]xip arrays  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: optimize lookups in snapshot [sub]xip arrays
List pgsql-hackers
On Wed, Aug 3, 2022 at 6:43 AM Nathan Bossart <nathandbossart@gmail.com> wrote:
> Just under half of the callers in 0002 require the offset, but I don't know
> if any of those are worth optimizing in the first place.  I'll change it
> for now.  It's easy enough to add it back in the future if required.

Yeah, some of those callers will rarely have more than several elements to search in the first place, or aren't performance-sensitive.

--
John Naylor
EDB: http://www.enterprisedb.com

pgsql-hackers by date:

Previous
From: Peter Smith
Date:
Subject: Re: PostgreSQL 15 minor fixes in protocol.sgml
Next
From: Andrey Borodin
Date:
Subject: Re: Slow standby snapshot