One line. Many voicesSeek and you shall find

lemire.me

Python sets and dictionaries can have quadratic-time performance

+ 1

  • Listen5:00
  • Save2 saves
  • Python's built‑in set and dict types can exhibit quadratic‑time behavior when many elements hash to the same bucket, causing worst‑case O(n²) performance.

    read later

    For all the tabs you promised to read.
    Save to read. Read to clear.

    Close tabs. Keep links.