I’ve heard that sequence chains in Kotlin are slower than loops because they create iterators and call hasNext()
and next()
for each element. But why can’t it just turn them into loops like Rust does?
submitted by /u/NateReinarWindwood
[link] [comments]