Spme examples about memory / allocations / GC. Kot...
# random
m
Spme examples about memory / allocations / GC. Kotlin's
Collection.forEach
, similarly to Java's
for (T t : collection)
, allocates an
Iterator
. Kotlin's
Int
will be mapped to Java's
int
where possible. Kotlin's Companion is a real object.