Skip to main content

same_classes

Function same_classes 

Source
fn same_classes(profile: &ShapeProfile, classes: &[String]) -> bool
Expand description

Whether profile names exactly classes, in the same order.

Names and order, because that pair is what makes a Class::Rule(index) mean the same thing to the scheduler that produced it and to the statistics row it is charged to. Same names in a different order would charge each class to another one’s row without a single count going missing.