pub fn fit(
entries: Vec<Entry>,
capacity_chars: usize,
reserve_chars: usize,
hygiene: bool,
modified_ms: &dyn Fn(&Entry) -> Option<i64>,
now_ms: i64,
) -> FittedExpand description
Caps the Personal files and keeps, in the order given (the caller put the newest first), as many as fit in
one delivery after reserve_chars (the running summary and anything else that rides along). Global Memory
goes in whole entries only; Personal Memory goes in the index, and the few files marked deliver: always
in full within their limit. The tail is the left-out note, and the hygiene note when hygiene is set.