Subslicing a slice is just creating another view to the same backing memory.
It's a zero-copy operation.
hth,
-s
sent from my droid
On Sat, Oct 27, 2018, 15:31 Sayan Shankhari
wrote:
> Hello Masters,
> This is from a beginner in go. Please read the code for Swapping a 64
> element array using
Hello Masters,
This is from a beginner in go. Please read the code for Swapping a 64
element array using two 32 element arrays. I have used two ways (OPTIONs),
one is working, the other is not. Please tell me where I am wrong and what
is the real concept in this language.
Thank You.
--
You rec