I started migrating all my old programming blog posts from enshittified Medium to dev.to and revisiting them at the same time.
Post
dev.toExploring Kotlin’s hidden costs — Part 3: Delegated properties and rangesFollowing the overwhelming positive feedback I received after publishing the first two parts of this...
A lot of things changed since #Kotlin 1.1, for example starting with Kotlin 1.5 the compiler is optimizing for loops of any combination of functions creating an integer progression. Check out the very unreasonable example near the end of this revised post: dev.to/cbeyls/explo...
dev.toExploring Kotlin’s hidden costs — Part 3: Delegated properties and rangesFollowing the overwhelming positive feedback I received after publishing the first two parts of this...
You mean when accessing fields of Companion objects from the main class? I assume there is still some overhead yes but I didn't investigate. I also assume R8 improves things on Android by using staticization.
0 reposts0 likes
Maybe I'll add a link to Jake Wharton's excellent post jakewharton.com/r8-optimizat...
jakewharton.comR8 Optimization: Staticization – Jake Wharton