Android Developers Backstage cover image

Episode 208: Micro optimizations

Android Developers Backstage

00:00

Optimizing Hash Maps: ScatterMap Insights

This chapter explores the intricacies of optimizing hash maps, focusing on the ScatterMap structure to enhance performance. It critiques the traditional mutable map implementations in Kotlin and Java and compares their performance with newer alternatives, emphasizing the importance of cache locality and memory management. Additionally, the discussion highlights the balance between optimization and practicality, shedding light on when and how to apply optimizations effectively.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app