Mammals were well on their way to dominance long before an asteroid strike was the death-blow for dinosaurs.