~/talk

How to Get Rid of Recursion and Fix a Stupid Bug at Google

TalkinRussianat JPoint 2025 · 2025-04-03..04-04· [software-architecture, java]
links:none on file
slides:none on file

Examines different techniques for optimizing recursion in Java, comparing them with concrete measurements. Covers tail recursion optimization, tree-traversal recursion, and using DeepRecursiveFunction to handle arbitrary recursion, and describes finding and fixing a bug in Google’s code that arose from a misguided recursion optimization attempt.

AI-written summary · about

  1. 0:00Introduction
  2. 2:55Recursion optimization research
  3. 5:49Tail recursion in Kotlin
  4. 7:58Tail recursion pitfalls
  5. 9:44Recursion depth problems
  6. 11:49Recursion psychology
  7. 12:52Breadth-first search
  8. 16:28Custom tree traversal
  9. 20:03Deep recursive function
  10. 29:49ViewGroupDescendance bug
  11. 37:46Safe recursion use
  12. 39:12Recursion best cases
  13. 40:17Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.