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
CLOVIS
09/27/2021, 11:39 AM
Hopefully, Project Valhalla will help streamline all of this?