Comment Comment by anandology Any slice implementation that references to the original data has to be some kind of "fat pointer". Is there any other way that can be done?String.substring in Java does exactly that. I'm sure numpy arrays in Python are implemented like that, perhaps slightly more fatter. parent anandology 7 years ago
String.substring in Java does exactly that. I'm sure numpy arrays in Python are implemented like that, perhaps slightly more fatter.