SubArray: default to linear indexing when it's fast