Artwork

Content provided by Android Developers. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Android Developers or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.
Player FM - Podcast App
Go offline with the Player FM app!

Episode 208: Micro optimizations

51:12
 
Share
 

Manage episode 429584133 series 2900575
Content provided by Android Developers. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Android Developers or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.

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, romainguy@androiddev.social

Tor: threads.net/@tor.norbye and tornorbye@androiddev.social

Catch videos on YouTube → https://goo.gle/adb-podcast

Subscribe to Android Developers → https://goo.gle/AndroidDevs

  continue reading

210 episodes

Artwork
iconShare
 
Manage episode 429584133 series 2900575
Content provided by Android Developers. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Android Developers or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.

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, romainguy@androiddev.social

Tor: threads.net/@tor.norbye and tornorbye@androiddev.social

Catch videos on YouTube → https://goo.gle/adb-podcast

Subscribe to Android Developers → https://goo.gle/AndroidDevs

  continue reading

210 episodes

All episodes

×
 
Loading …

Welcome to Player FM!

Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.

 

Quick Reference Guide