pub fn parse_flags_optimized<'a, S>(
args: &'a [String],
flags: &HashMap<String, Flag, S>,
parent_flags: Option<&HashMap<String, Flag, S>>,
) -> Result<(HashMap<String, String>, Vec<&'a str>)>where
S: BuildHasher,Expand description
Optimized flag parsing that minimizes allocations
Returns a map of flag names to values where both are borrowed from the input args