Marcello Galhardo
04/28/2025, 8:29 PMserializer<T>()
that throws if no serializer is found, why isn’t there a serializerOrNull<T>()
as well? I know there’s a serializerOrNull(KType)
, but as I understand it, typeOf<T>()
relies on reflection and has performance implications.Marcello Galhardo
04/28/2025, 8:31 PMephemient
04/29/2025, 12:39 AMtypeOf<T>()
is an intrinsic, what performance implications?ephemient
04/29/2025, 12:42 AMkotlin.reflect
implementation objects but it isn't runtime reflectionephemient
04/29/2025, 12:45 AM