On Friday, October 23, 2015 at 12:24:59 PM UTC-4, Tom Breloff wrote: > > On this note, is there a good summary somewhere of the pros/cons between > using `sub` vs `slice` vs `ArrayViews.view`? >
As I understand it, slice tries to squeeze the dimensions (producing lower-dimensional arrays if possible) more than sub. Otherwise they are equivalent; both produce a SubArray view of the original array. ArrayViews is mostly obsolete.