PERF: optimize index.__getitem__ for slice & boolean mask indexers
Merge pull request #6440 from immerrr/index-getitem-performance

PERF: optimize index.__getitem__ for slice & boolean mask indexers