~/talk

Big-O: How Code Slows as Data Grows

Talkat PyCon 2018 · on Sunday, 2018-05-13· [web-performance]
slides:none on file

Big‑O explains how code slows as data grows and shows concrete tradeoffs using Python lists, dicts and sets and hash functions. Examples: counting is O(n) while len or dict lookup is O(1); an algorithm that becomes O(n^2) turns 2,000 points into four million operations and slows from about 0.5s to 20s; building a 50,000-element set runs ~10ms normally but collisions make it ~34s, which motivates hash randomization.

AI-written summary · about

  1. 0:00Intro
  2. 1:22Mindsets
  3. 3:57Terminology
  4. 4:54Counting beans
  5. 6:56Finding words
  6. 7:59Other terms
  7. 9:19Determining Big-o
  8. 12:32An Example
  9. 14:57Another example
  10. 17:23The Graph
  11. 18:01Python complexities
  12. 19:13Trade-offs
  13. 22:13More possibilities
  14. 24:12Small numbers
  15. 25:27Advanced: Amortization
  16. 26:08Advanced: Worst case
  17. 27:12Advanced more math
  18. 27:36Experts
  19. 28:30Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.