pub const FLOW_PLAIN_NEEDLES: &[u8] = b": \t,[]{}";Expand description
Canonical YAML 1.2 plain-scalar boundary candidate set inside
flow collections ([ ], { }). Adds the flow-collection
terminators (,, [, ], {, }) to the block set.
The wider needle set means the scanner sees more candidate
boundaries per chunk in flow context — exactly the workload
where StructuralIter’s 32-byte-bitmask discovery beats a
per-candidate restart pattern.
§Examples
use noyalib::simd::{FLOW_PLAIN_NEEDLES, SimdScanner};
let s = SimdScanner::new(FLOW_PLAIN_NEEDLES);
assert_eq!(s.find_any(b"hello, world"), Some(5));