pub fn route_pattern_specificity_score(pattern: &str) -> usizeExpand description
Scores a route pattern by its number of literal segments.
§Parameters
pattern: Input consumed bycrate::runtime::dynamic::route_pattern_specificity_score.
§Returns
Returns the computed value produced by crate::runtime::dynamic::route_pattern_specificity_score.
§Performance
Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::dynamic::route_pattern_specificity_score.
§Examples
ⓘ
let _result = pharos_native::runtime::dynamic::route_pattern_specificity_score(todo!());§Related
crate::runtime::dynamicfor adjacent helpers that share the same runtime surface.