pub fn split(input: &str) -> Vec<&str>Expand description
Split input into per-document byte slices on YAML 1.2 ---
markers. Single-pass O(input.len()). Public so callers that
drive their own concurrency primitives (async tasks, custom
thread pools) can reuse the same boundary scan.
ยงExamples
let docs = noyalib::parallel::split("---\na: 1\n---\nb: 2\n");
assert_eq!(docs.len(), 2);