Performance isn’t my main concern, it’s memory consumption and garbage. Those are the things that matter on Android obviously, but they do also matter on (high performant) server apps. So maybe one improvement could be that it’s crystal clear that a method creates a new snapshot. So for instance prefix all those methods with
to
(
create
?). Just like
toInt()
and
toDouble()
, above could be
toNoNulls
.