
Chris Banes
@chrisbanes
Followers
50K
Following
5K
Media
793
Statuses
10K
π Should you use Kotlin Sequences for Performance?. I have always thought that using asSequence() was the way to optimize chained operations in Kotlin. But after benchmarking, the results shocked me: Sequences are often slower! π
. #Kotlin #AndroidDev.
3
13
111
Itβs all about the screenshot tests. With a graphics effect library, itβs so easy to cause visual regressions. Screenshot tests give immediate feedback so I spend less time developing. The Robolectric folks have done an amazing job with RNG. It even runs custom runtime shaders!.
@chrisbanes Chris you are on fire with this lately! Great job man!.
2
2
49
sooooo good.
β¨ First video out now! π₯³. Learn how to create delightful mesh gradients in #JetpackCompose.Works on Android and #KotlinMultiplatform. If you like the video, you can check out the code that made it, fully open source on GitHub (aka tell me how bad my code is, π
).
2
6
86