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, 28 Jan 2022 15:47:55 +0100 (CET)

On Fri, 28 Jan 2022, Henrik Holst wrote:

> it does "waste" (depending on if they even can be reduced and even then what
> the savings would be) cpu time for setting up new connections

They are only a waste if we can do the same thing without doing the strlens.
I'll willingly work on removing all uncessary strlen calls anyone can find.

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