Optimize the performance of indexing operations when using an array-like indexer on a single dimension.