public inbox for [email protected]
help / color / mirror / Atom feedFrom: Michael Paquier <[email protected]>
To: Ranier Vilela <[email protected]>
Cc: Pg Hackers <[email protected]>
Subject: Re: Replace some cstring_to_text to cstring_to_text_with_len
Date: Thu, 31 Aug 2023 12:21:47 +0900
Message-ID: <ZPAHSzSM3/[email protected]> (raw)
In-Reply-To: <CAEudQArERPTuqgoAQux52M0d=CrNbwTzATx2Wuwnbct-8=G7SQ@mail.gmail.com>
References: <CAEudQArERPTuqgoAQux52M0d=CrNbwTzATx2Wuwnbct-8=G7SQ@mail.gmail.com>
On Wed, Aug 30, 2023 at 03:00:13PM -0300, Ranier Vilela wrote:
> cstring_to_text has a small overhead, because call strlen for
> pointer to char parameter.
>
> Is it worth the effort to avoid this, where do we know the size of the
> parameter?
Are there workloads where this matters?
--
Michael
Attachments:
[application/pgp-signature] signature.asc (833B, ../ZPAHSzSM3%[email protected]/2-signature.asc)
download
view thread (2+ messages)
reply
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: [email protected]
Cc: [email protected], [email protected]
Subject: Re: Replace some cstring_to_text to cstring_to_text_with_len
In-Reply-To: <ZPAHSzSM3/[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox