Jason5lee
08/08/2021, 2:08 PMResult
instead of normal sealed class and data class inheritance?Chilli
08/08/2021, 4:32 PMMarc Knaup
08/08/2021, 10:24 PMResult
is used in a lot of hot coroutines code. Always creating a real Java object would incur significant overhead.