Adding one more thought, an efficient prism can be more efficient than an inefficient grating. Gratings tend to be preferred in commercial spectrometers because the grating equation has fewer parameters that can fluctuate, and reflection gratings can cover wavelength ranges where there are no convenient optical materials with sufficient dispersion to be practical.