Skip to main content

rows_for_target_bytes

Function rows_for_target_bytes 

Source
pub const fn rows_for_target_bytes(target_bytes: usize, cols: usize) -> usize
Expand description

Returns how many rows to stream per chunk so that each chunk uses approximately target_bytes given a row width of cols f64 entries.