PERF: calling get_indexer twice when a specialized indexer (e.g. pad) could be called instead