Skip to main content

already_sorted

Function already_sorted 

Source
fn already_sorted(
    pdus: &[(usize, (OwnedRoomId, OwnedEventId, CanonicalJsonObject))],
) -> bool
Expand description

Whether the batch is already in causal order, in which case the sort can be skipped.