process_file_streaming

Function process_file_streaming 

Source
pub fn process_file_streaming<T, F>(file_path: &str, processor: F) -> Result<T>
where F: FnMut(&AuditEntry), T: Default,
Expand description

Process a file with streaming to minimize memory usage

This function processes audit entries one-by-one instead of loading the entire file into memory, making it suitable for very large files.