• @xthexder@l.sw0.com
    link
    fedilink
    612 days ago

    Not even else if? Damn, I guess we’re checking all the numbers every time then. This is what peak performance looks like

    • lime!
      link
      fedilink
      English
      712 days ago

      O(1) means worst and best case performance are the same.