5min chapter

Android Developers Backstage cover image

Episode 190: Performance Review

Android Developers Backstage

CHAPTER

Is R8 Enabled ByDefault?

R8 can do a lot of cool optimizations to your app code. Obfuscation, which I think most people are probably familiar with literally just kind of changing the names of your functions. They can be things like adding finalizers when static analysis says that's OK or inlining small functions directly into their kind of parent functions so that we don't need to call in and have another piece of call stack as you're going through the code. The trick is how to help me, someone like me, understand, yeah, I'm working around this for now and then not forget about that and go ahead and ship an app with the wrong things enabled in it.

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