~/talk

How Android Uses Data Structures Behind the Scenes

Talkat DroidKaigi 2025 · 2025-09-10..09-12· [android, frontend-architecture]
links:none on file
slides:none on file

Android shows concrete uses: UI state uses a slot table implemented with a gap buffer so inserts/deletes at the compose state position are near O(1); LRU caching is implemented with a linkedHashMap (hashmap for lookup + doubly linked list for O(1) reordering); dependency injection models dependencies as a Directed Acyclic Graph and detects cycles via BFS shortest-path tracing; the uploader claims about 80% of routine feature code is generated by AI, leaving the hard 20% for manual fixes.

AI-written summary · about

  1. 0:00Introduction
  2. 1:02Data structures in practice
  3. 3:03Design with data structures
  4. 8:19Dagger dependency graph
  5. 18:44View system performance
  6. 21:21Jetpack Compose slot table
  7. 26:38Conclusion
~/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.