3 ms·
I understand that, my point solely rest around defining the clone function from the slices package in the article, explaining why, yet the actual implementation
by mutatio 3y ago
I understand that, my point solely rest around defining the clone function from the slices package in the article, explaining why, yet the actual implementation is different. The source code I found via the docs doesn't consider capacity, it merely uses a empty construct and appends.
- aatd86 3y agoAh you're right... It's rather a shallow copy. Good point. I have no clue either. Maybe you can open an issue?