~/talk

What Mom Never Told You About Multi-threading

Talkat Mobile Fest 2018 · on Saturday, 2018-06-02· [android]

Parses two 30MB Wikipedia XML dumps and counts words using multiple approaches: plain threads and locks (~22s), a split-threaded run with concurrent hash map (~19s), RxJava merge (best first pass ~17s), and Kotlin coroutines (similar). Identifies XML I/O, object churn/GC and lock contention as real bottlenecks, shows a divide‑and‑conquer range split that drops time to ~14s, and insists on measurement, immutability, and picking the right tool.

AI-written summary · about

  1. 0:00Start
  2. 10:43RESPONSIVENESS
  3. 40:28HOMEWORK!
  4. 43:19VERDICT?
~/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.