• @[email protected]
    link
    fedilink
    720 days ago

    TL;DR, big-O ignores the constant factor. If you already know what that means you don’t need to read this…

    • @[email protected]
      link
      fedilink
      420 days ago

      Eh, I also enjoyed seeing the comparison between Go and Python, seeing the jumps in time because of allocations, and knowing the size of the list when the more efficient algorithm started to become faster.

  • @[email protected]
    link
    fedilink
    English
    120 days ago

    It’d be interesting to see if switching to pypy made any difference. It won’t beat the eventual exponential growth, but I’ve seen it be as fast as Rust code I’ve written for code like this.