pub fn optimize_pattern(
pattern: &dyn BinaryPattern,
) -> GenericBinaryPattern<'static>Expand description
Optimize a BinaryPattern to increase matching performance.
The following optimazations are performed:
- Join byte sequence matches
- Join ranged wildcards
- Join fixed wildcards
- Join fixed and ranged wildcards