Micro-optimizations to avoid some strlen calls.

From: Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Micro-optimizations to avoid some strlen calls.
Date: 2021-07-19 22:48:55
Message-ID: CAEudQAotDNsFvGh79BVoHaH36oGHUYXujxiD2FyT97qFgTLOWQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

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.

regards,
Ranier Vilela

Attachment Content-Type Size
micro-optmization-avoid-strlen.patch text/x-patch 10.6 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2021-07-19 23:23:42 Re: OpenSSL 3.0.0 compatibility
Previous Message Ranier Vilela 2021-07-19 22:03:41 Re: slab allocator performance issues