Function estimate_n_lines_in_chunk

Source
pub fn estimate_n_lines_in_chunk(chunk: &[u8]) -> usize
Available on crate feature polars-io only.
Expand description

Total len divided by max len of first and last non-empty lines. This is intended to be cheaper than estimate_n_lines_in_file.