From Dev.to
Zero-Cost Types? The Fine Print on Kotlin Value Classes
Compose’s own Dp, Color and TextUnit are value classes. Here's why. @JvmInline value class ShipmentId(val raw: String) reads like a free upgrade: a real type in the source, a plain String at runtime....
