Re: Micro-optimizations to avoid some strlen calls.

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Micro-optimizations to avoid some strlen calls.
Date: 2021-07-21 00:28:09
Message-ID: YPdqGUsqQBGONrHL@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2021-07-21 00:31:42 Re: Bitmap reuse
Previous Message Alvaro Herrera 2021-07-21 00:27:02 Re: CLUSTER on partitioned index