curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Fewer mallocs is better, episode #47

From: Daniel Stenberg via curl-library <>
Date: Fri, 4 Feb 2022 16:54:29 +0100 (CET)

On Fri, 4 Feb 2022, Henrik Holst via curl-library wrote:

> Just have to have consensus on what to call this macro, looking at the
> codebase there is a strong use of CURL_ prefixes so perhaps CURL_CONSTLEN or
> something like that?

Since the name would be used internally only and it wouldn't likely collide
with an existing name, I don't think a curl prefix is necessary. I even prefer
without then, to make the name shorter and more easily readable.

CONSTLEN() works for me.

  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
Received on 2022-02-04