Skip to main content

rows_for_bytes

Function rows_for_bytes 

Source
pub fn rows_for_bytes(target_bytes: u64, pad: usize) -> u64
Expand description

Number of rows needed to roughly hit target_bytes given pad-wide payloads. Overhead per row is approximate; coarse sizing, not exact.