Friendica
daniel:// stenberg://
daniel:// stenberg://

daniel:// stenberg://

bagder@mastodon.social

daniel:// stenberg://

bagder@mastodon.social
I write curl. I don't know anything.
ActivityPub
2025-07-08 09:49:17 2025-07-08 08:46:57 2025-07-08 08:46:55 8185625

daniel:// stenberg://
daniel:// stenberg://
mastodon - Link to source

daniel:// stenberg://

1 month ago • •

daniel:// stenberg://

1 month ago • •


Keeping tabs on #curl's memory use

daniel.haxx.se/blog/2025/07/08…


keeping tabs on curl’s memory use

One of the harder things to look out for in a software project is slow or gradual decay over a long period of time. Like if we gradually make a library 1% slower or use 2% more memory every other month.
daniel.haxx.se
#curl
  •  Languages
  •  Search Text
  •  Share via ...
in reply to daniel:// stenberg://

Lorenz Bauer
mastodon - Link to source

Lorenz Bauer

in reply to daniel:// stenberg:// • 1 month ago • •
in my own library(written in Go) I also spend an inordinate amount of time optimising memory use and allocations. I used to think that CPU time matters but really memory seems scarcer. Maybe because it’s much cheaper to overcommit CPU vs memory? Interesting to see that the same dynamic holds in a different ecosystem.
  •  Languages
  •  Search Text
  •  Share via ...
⇧