pub fn par_extract<T, F>(pages: &[Vec<ContentElement>], op: F) -> Vec<T>Expand description
Parallel fold — map each page to a value of type T and collect results.
Useful for gathering per-page statistics or metadata without modifying pages.
pub fn par_extract<T, F>(pages: &[Vec<ContentElement>], op: F) -> Vec<T>Parallel fold — map each page to a value of type T and collect results.
Useful for gathering per-page statistics or metadata without modifying pages.