Does `Array.sliceArray` return a view on the origi...
# stdlib
e
Does
Array.sliceArray
return a view on the original array, and if not, is there a way to do that?
e
arrays types are built into the runtime (e.g. JVM), don't have sharing, and can't be overridden. use lists instead.
e
I'm working with an API that takes an Array and it would be nice to do it without having to copy the Array
i
No, it's not possible to have an array that is a view of another array on JVM.
🙏 1