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

daniel:// stenberg://

bagder@mastodon.social

daniel:// stenberg://

bagder@mastodon.social
I write curl. I don't know anything.
ActivityPub
2024-10-23 10:51:52 2024-10-22 13:41:18 2024-10-22 13:41:16 5825056

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

daniel:// stenberg://

10 months ago • •

daniel:// stenberg://

10 months ago • •


The longest function in #curl production code and the length of the 99th percentile function. Over time.

Something to work on.

#curl
  •  Languages
  •  Search Text
  •  Share via ...
in reply to daniel:// stenberg://

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

daniel:// stenberg://

in reply to daniel:// stenberg:// • 10 months ago • •
and related, the cyclomatic complexity of functions in #curl. The worst and the 99th percentile. Over time.
#curl
  •  Languages
  •  Search Text
  •  Share via ...
in reply to daniel:// stenberg://

Edwin Young
mastodon - Link to source

Edwin Young

in reply to daniel:// stenberg:// • 10 months ago • •

what does the mighty function do?

I often find complexity measures overstate the "perceived complexity" of state-machine style code

  •  Languages
  •  Search Text
  •  Share via ...
in reply to Edwin Young

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

daniel:// stenberg://

in reply to Edwin Young • 10 months ago • •
@edyoung it's the big switch() taking care of the 306 different options curl_easy_setopt() supports.
@Edwin Young
  •  Languages
  •  Search Text
  •  Share via ...
in reply to daniel:// stenberg://

truh
mastodon - Link to source

truh

in reply to daniel:// stenberg:// • 10 months ago • •
what's the big complexity drop in 2019?
  •  Languages
  •  Search Text
  •  Share via ...
in reply to daniel:// stenberg://

SkaveRat 🐀
mastodon - Link to source

SkaveRat 🐀

in reply to daniel:// stenberg:// • 10 months ago • •
3k LoC? Sweet mother of god
  •  Languages
  •  Search Text
  •  Share via ...
in reply to SkaveRat 🐀

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

daniel:// stenberg://

in reply to SkaveRat 🐀 • 10 months ago • •
@skaverat but also just one, the second largest one is less than half of that...
@SkaveRat 🐀
  •  Languages
  •  Search Text
  •  Share via ...
Unknown parent

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

daniel:// stenberg://

Unknown parent • 10 months ago • •
@profdc9 room for improvements! 😁
  •  Languages
  •  Search Text
  •  Share via ...
in reply to daniel:// stenberg://

Stefan Eissing
mastodon - Link to source

Stefan Eissing

in reply to daniel:// stenberg:// • 10 months ago • •
ETOOMANYOPTS
  •  Languages
  •  Search Text
  •  Share via ...
in reply to daniel:// stenberg://

simendsjo
mastodon - Link to source

simendsjo

in reply to daniel:// stenberg:// • 10 months ago • •
@profdc9 It needs an ad hoc, informally-specified, bug-ridden, slow implementation of half of Common Lisp.
  •  Languages
  •  Search Text
  •  Share via ...
⇧