The first few lines of primitive dinosaurs diversified rapidly through the Triassic period; dinosaur species quickly evolved the specialised features and range of sizes needed to exploit nearly every terrestrial ecological niche.
In many instances, cladistic analysis shows that ancestral lineages of varying durations fall in those gaps.