This experimental evolution study in Drosophila melanogaster found that high resource competition led to the rapid evolution of increased sexual dimorphism in diet preference, with males evolving higher sucrose consumption and females evolving higher yeast consumption.