Upvote!
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 day ago

timeoutSort

lemmy.ml

message-square
7
fedilink
  • cross-posted to:
  • programmer_humor@programming.dev
88

timeoutSort

lemmy.ml

☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 day ago
message-square
7
fedilink
  • cross-posted to:
  • programmer_humor@programming.dev
alert-triangle
You must log in or # to comment.
  • limer@lemmy.ml
    link
    fedilink
    arrow-up
    7
    ·
    13 hours ago

    If it is stupid and it works it’s not stupid.

    I’m going to use it

  • LadyMeow@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    7
    ·
    22 hours ago

    I mean, it’s basically O(1), right? :p

    • Ephera@lemmy.ml
      link
      fedilink
      English
      arrow-up
      11
      ·
      21 hours ago

      I mean, it does scale with the size of the input. Just not with the count of inputs, but rather the size of each input element.

      • jimmux@programming.dev
        link
        fedilink
        arrow-up
        5
        ·
        20 hours ago

        Or just the size of the largest input?

        • Ephera@lemmy.ml
          link
          fedilink
          English
          arrow-up
          2
          ·
          16 hours ago

          Oh yeah, I do think setTimeout executes in parallel, so only the largest element determines the execution time. It was difficult enough to make that sentence make sense, so I didn’t want to cram that detail in as well. 🙃

  • owenfromcanada@lemmy.ca
    link
    fedilink
    arrow-up
    16
    ·
    1 day ago

    How does a programming joke cause me physical pain?

  • Cat_Daddy [any, any]@hexbear.net
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 day ago

    snortle

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 218 users / day
  • 1.48K users / week
  • 2.57K users / month
  • 8.07K users / 6 months
  • 1 local subscriber
  • 39K subscribers
  • 1.91K Posts
  • 39.9K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.6
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org