Skip to content

Commit ded7475

Browse files
misleading comment
1 parent dda3338 commit ded7475

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libudpard/udpard.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ static bool rx_fragment_is_needed(udpard_tree_t* const root,
788788
/// Finds the number of contiguous payload bytes received from offset zero after accepting a new fragment.
789789
/// The transfer is considered fully received when covered_prefix >= min(extent, transfer_payload_size).
790790
/// This should be invoked after the fragment tree accepted a new fragment at frag_offset with frag_size.
791-
/// The complexity is linear in the number of contiguous fragments following old_prefix.
791+
/// The complexity is logarithmic if updated after every received frame.
792792
static size_t rx_fragment_tree_update_covered_prefix(udpard_tree_t* const root,
793793
const size_t old_prefix,
794794
const size_t frag_offset,

0 commit comments

Comments
 (0)