Is `dataset.select(range(10000))` efficient?

Is dataset.select(range(10000)) efficient?

Is this the best way to select a slice of the dataset?