liftof_rb::memory

Function size_in_events

Source
pub fn size_in_events(size: usize) -> usize
Expand description

Get a size which accomodates nevents

This means if the given size is too small make sure that at least the whole next event “fits in”