Re:The PEPs of Python 3.9
by aidos on Thursday May 28, 2020 @03:47PM
(#23341693)
Correct. In Numpy the slices are views on the underlying memory. That’s why they’re so fast, there’s no copying involved. Incidentally that’s also why freeing up the original variable doesn’t release the memory (the slices are still using it).
[ Parent
| on HN ]
There are no comments on this comment yet.