horse_badorties
07/30/2017, 2:11 PMArray in the first place? Why not use Collection and let the compiler optimize them away as JVM Arrays where possible?
4 replies
not sure I got what you said, sorry.
The concept of ☕ Arrays could be expressed by a K Collection and the K compiler could provide the necessary magic.
And ArrayList is a ☕ class, not a K class, so I'm not sure why that would be relevant.