why does `List` have `chunked()` but `DoubleArray`...
# stdlib
h
why does
List
have
chunked()
but
DoubleArray
does not?
j
Because of the JVM treating arrays differently than collections and Kotlin inheriting that behavior. It would require moving from a single function to like 15 to support all the types. Now multiply that by every collection function and you have a huge bloat added to the stdlib
👍 4
c
Hopefully, Project Valhalla will help streamline all of this?