Artwork

内容由Android Developers提供。所有播客内容(包括剧集、图形和播客描述)均由 Android Developers 或其播客平台合作伙伴直接上传和提供。如果您认为有人在未经您许可的情况下使用您的受版权保护的作品,您可以按照此处概述的流程进行操作https://zh.player.fm/legal
Player FM -播客应用
使用Player FM应用程序离线!

Episode 208: Micro optimizations

51:12
 
分享
 

Manage episode 429584133 series 2900575
内容由Android Developers提供。所有播客内容(包括剧集、图形和播客描述)均由 Android Developers 或其播客平台合作伙伴直接上传和提供。如果您认为有人在未经您许可的情况下使用您的受版权保护的作品,您可以按照此处概述的流程进行操作https://zh.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

211集单集

Artwork
icon分享
 
Manage episode 429584133 series 2900575
内容由Android Developers提供。所有播客内容(包括剧集、图形和播客描述)均由 Android Developers 或其播客平台合作伙伴直接上传和提供。如果您认为有人在未经您许可的情况下使用您的受版权保护的作品,您可以按照此处概述的流程进行操作https://zh.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

211集单集

所有剧集

×
 
Loading …

欢迎使用Player FM

Player FM正在网上搜索高质量的播客,以便您现在享受。它是最好的播客应用程序,适用于安卓、iPhone和网络。注册以跨设备同步订阅。

 

快速参考指南