2min chapter

Android Developers Backstage cover image

Episode 199: Compose performance

Android Developers Backstage

CHAPTER

How to Parse a Vector Drawable

In Compose, we use mutable list stuff. We made the change to like use the relist directly so we can size it and save like reallocations. Mutable map of is also interesting because by default, so currently we use a link to cache map that has a different behavior than other data structures. And then one thing is that, you know, we run into it, it's not specific to Kotlin, but it's the nature of standard libraries where the API is met gates in your way of performance sometimes.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode