• @xthexder@l.sw0.com
    link
    fedilink
    61 month 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
      71 month ago

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