Re: Micro-optimizations to avoid some strlen calls. - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Micro-optimizations to avoid some strlen calls.
Date
Msg-id YPdqGUsqQBGONrHL@paquier.xyz
Whole thread Raw
In response to Micro-optimizations to avoid some strlen calls.  (Ranier Vilela <ranier.vf@gmail.com>)
Responses Re: Micro-optimizations to avoid some strlen calls.
List pgsql-hackers
On Mon, Jul 19, 2021 at 07:48:55PM -0300, Ranier Vilela wrote:
> There are some places, where strlen can have an overhead.
> This patch tries to fix this.
>
> Pass check-world at linux ubuntu (20.04) 64 bits.

Why does it matter?  No code paths you are changing here are
performance-critical, meaning that such calls won't really show up
high in profiles.

I don't think there is anything to change here.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Column Filtering in Logical Replication
Next
From: David Rowley
Date:
Subject: Re: Bitmap reuse