Skip to main content

window_scaled

Function window_scaled 

Source
pub fn window_scaled(
    window: Option<u64>,
    hint_at: u64,
    fresh_at: u64,
) -> (u64, u64, u64)
Expand description

The hint’s sizes for a harness whose window is window: the settings’ sizes assume a 1M window, so a smaller one gets them as shares of it (compact hint from 40%, fresh hint from 15%, re-arm below 25%) when those are lower.