Replace some cstring_to_text to cstring_to_text_with_len - Mailing list pgsql-hackers

From Ranier Vilela
Subject Replace some cstring_to_text to cstring_to_text_with_len
Date
Msg-id CAEudQArERPTuqgoAQux52M0d=CrNbwTzATx2Wuwnbct-8=G7SQ@mail.gmail.com
Whole thread Raw
Responses Re: Replace some cstring_to_text to cstring_to_text_with_len
List pgsql-hackers
Hi,

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?

best regards,
Ranier Vilela

Attachment

pgsql-hackers by date:

Previous
From: Chapman Flack
Date:
Subject: Re: More new SQL/JSON item methods
Next
From: "Andrey M. Borodin"
Date:
Subject: Re: UUID v7