It's worth mentioning that gifted and talented schools also put all the top test takers into a small number of schools within a system taking away AP opportunities and other funding from other schools within the system.
Additionally, other kids in the system miss out from the interaction with top performing students whose habits and interests can rub off and help lift up other students. One of the most important parts of going to school is meeting people and learning new things from them and this isn't mentioned enough in the test score and percentile driven education age.