Episode 208: Micro optimizations
About this episode
In this episode Tor and Romain find themselves without a guest and decide to chat about micro optimizations and writing custom tools.
Tor and Romain
Chapters:
Intro (00:00)
Micro optimizations (00:32)
Kotlin explorer (3:25)
Avoiding object allocations (6:49)
Code Inefficiencies (8:10)
Compilers (12:13)
Understand assembly with AI (18:39)
Layout opt (21:20)
Programmers writing tools (21:52)
char.isBlank (25:35)
Lint checks (27:59)
Companion objects (29:40)
Java assertion mechanism (32:00)
Hash maps (35:13)
When to micro optimize and when not to (43:46)
Benchmarking (47:26)
New optimizations (48:46)
Wrap up (50:46)
Romain: @romainguy, threads.net/@romainguy, [email protected]
Tor: threads.net/@tor.norbye and [email protected]
Catch videos on YouTube → https://goo.gle/adb-podcast
Subscribe to Android Developers → https://goo.gle/AndroidDevs
More from Android Developers Backstage
Hear how recent rewrites of the ADB stack and Android Studio debugger directly improve developer workflows. By updating the mDNS implementation and rebuilding Windows USB drivers, you can rely on stab…
Learn how the latest Android Studio AI features can streamline your daily development tasks. While the original agent mode chat was helpful, we rebuilt it with a re-architected experience that support…
Discover the origin story of Jetpack Compose and how it changed the way Android developers build applications. We discuss the original challenges of unbundling the UI toolkit from the operating system…
Join hosts Tor and Romain as they sit down with Søren Gjesse, Chris Craik, and Shai Barack. This week, the team dives into R8, the whole-program optimizer that handles the "last mile" of your code bef…
Join hosts Tor, Chet, and Romain as they sit down with Diego Perez (Android Studio) and Patrick Fuentes (Developer Relations) to explore the new frontiers of Android XR. This episode of Android Develo…